Updated fast indexing to respect title filters (#136)

This commit is contained in:
Kieran
2024-03-27 19:39:50 -07:00
committed by GitHub
parent 23d65eaf5f
commit d1fe87bdf3
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