don't force to add filter by name if is not defined

This commit is contained in:
Jakub Trllo 2025-06-16 15:43:15 +02:00
parent 7c6c054cd7
commit a3a14f08e4

View file

@ -892,6 +892,9 @@ class FiltersBar(BaseClickableFrame):
self.show_filters_popup()
def _on_text_filter_request(self, text: str):
if "product_name" not in self._filter_defs_by_name:
return
self._on_filter_request("product_name")
self._filter_value_popup.set_text_filter(text)