CLI: Ensure no filters still returns results

This commit is contained in:
Mike Auty
2024-02-09 00:00:21 +00:00
parent d8d3e157af
commit 865f004f5c
+2
View File
@@ -51,6 +51,8 @@ class CLIFilter:
row: List[Any],
) -> bool:
"""Filters the row based on each of the column_filters"""
if not self._filters:
return False
found = any([column_filter.found(row) for column_filter in self._filters])
return not found