Synchronize current filter options with search term updates in the HostsManagerApp

This commit is contained in:
Philip Henning 2025-08-18 15:24:59 +02:00
parent dcf28211d8
commit 6bfd9c77e4

View file

@ -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: