Updated fast indexing to respect title filters (#136)
This commit is contained in:
1 parent
23d65eaf5f
commit
d1fe87bdf3
2 files changed
+22
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user