[84] #736 fix for 0 filters

pull/737/head
meisnate12 3 years ago
parent 47289b922d
commit a18be7a305

@ -1 +1 @@
1.15.1-develop83 1.15.1-develop84

@ -2024,9 +2024,7 @@ class CollectionBuilder:
if modifier in [".count_gt", ".count_gte", ".count_lt", ".count_lte"]: if modifier in [".count_gt", ".count_gte", ".count_lt", ".count_lte"]:
test_number = len(test_number) if test_number else 0 test_number = len(test_number) if test_number else 0
modifier = f".{modifier[7:]}" modifier = f".{modifier[7:]}"
elif not test_number: if test_number is None or util.is_number_filter(test_number / divider, modifier, filter_data):
return False
if util.is_number_filter(test_number / divider, modifier, filter_data):
return False return False
else: else:
attrs = [] attrs = []

Loading…
Cancel
Save