[48] fix using 0 in plex_search

pull/935/head
meisnate12 2 years ago
parent 3080e2e719
commit d915e0e641

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

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

Loading…
Cancel
Save