Updated fast indexing to respect title filters (#136)

This commit is contained in:
Kieran authored and GitHub committed 2024-03-27 12:39:50 -07:00
1 parent 8513deef09
commit ba0ded03a4
2 files changed
+22

No files matched your search

+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