diff --git a/tir/main.py b/tir/main.py index d949b4af..c6baf6f3 100644 --- a/tir/main.py +++ b/tir/main.py @@ -34,7 +34,7 @@ def __getattribute__(self, name): attr = object.__getattribute__(self, name) if callable(attr) and not name.startswith('_'): - preserve_methods = {'SearchBrowse', 'SetButton'} + preserve_methods = {'SearchBrowse', 'FilterBrowse', 'SetButton'} if name not in preserve_methods: try: object.__getattribute__(self, 'config')._flag_is_new_browse = None @@ -1720,7 +1720,7 @@ def __getattribute__(self, name): attr = object.__getattribute__(self, name) if callable(attr) and not name.startswith('_'): - preserve_methods = {'SearchBrowse', 'SetButton'} + preserve_methods = {'SearchBrowse', 'FilterBrowse', 'SetButton'} if name not in preserve_methods: try: object.__getattribute__(self, 'config')._flag_is_new_browse = None @@ -2320,4 +2320,5 @@ def FilterBrowse(self, filters: List[Dict[str, Any]]): ... ] >>> oHelper.FilterBrowse(filters) """ + self.config._flag_is_new_browse = True self.__poui._set_browse_filters(filters)