[48] fix using 0 in plex_search

This commit is contained in:
meisnate12 2022-06-21 10:07:44 -04:00
parent 3080e2e719
commit d915e0e641
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
1.17.0-develop47
1.17.0-develop48

View file

@ -1791,7 +1791,7 @@ class CollectionBuilder:
results += f"{conjunction if len(results) > 0 else ''}push=1&{inside_filter}pop=1&"
else:
validation = self.validate_attribute(attr, modifier, final_attr, _data, validate, plex_search=True)
if validation is not False and not validation:
if validation is not False and validation != 0 and not validation:
continue
elif attr in plex.date_attributes and modifier in ["", ".not"]:
last_text = "is not in the last" if modifier == ".not" else "is in the last"