Synchronize current filter options with search term updates in the HostsManagerApp
This commit is contained in:
parent
dcf28211d8
commit
6bfd9c77e4
1 changed files with 2 additions and 0 deletions
|
@ -387,6 +387,8 @@ class HostsManagerApp(App):
|
|||
if event.input.id == "search-input":
|
||||
# Update search term and filter entries
|
||||
self.search_term = event.value.strip()
|
||||
# Also update the current filter options to keep them synchronized
|
||||
self.current_filter_options.search_term = self.search_term if self.search_term else None
|
||||
self.table_handler.populate_entries_table()
|
||||
self.details_handler.update_entry_details()
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue