Ignore case when checking the filter
This commit is contained in:
1 parent
40e48c9317
commit
6ae2676b8f
1 file changed
+1
-1
@@ -597,7 +597,7 @@ class Source(models.Model):
|
||||
def is_regex_match(self, media_item_title):
|
||||
if not self.filter_text:
|
||||
return True
|
||||
return bool(re.search(self.filter_text, media_item_title))
|
||||
return bool(re.search(self.filter_text, media_item_title, re.I))
|
||||
|
||||
def get_index(self, type):
|
||||
indexer = self.INDEXERS.get(self.source_type, None)
|
||||
|
||||
Reference in new issue
Block a user