Updated fast indexing to respect title filters (#136)

This commit is contained in:
Kieran
2024-03-27 12:39:50 -07:00
committed by GitHub
parent 8513deef09
commit ba0ded03a4
2 changed files with 22 additions and 0 deletions
+1
View File
@@ -101,6 +101,7 @@ defmodule Pinchflat.Media do
|> where([mi], mi.id == ^media_item.id and is_nil(mi.media_filepath))
|> where(^build_format_clauses(media_item.source.media_profile))
|> where(^maybe_apply_cutoff_date(media_item.source))
|> where(^maybe_apply_title_regex(media_item.source))
|> Repo.exists?()
end