Describe the bug
When searching for elements using the "Search for Element" input field, if you disconnect from a database connection and then connect to a different connection (or reconnect to the same one), the search input field appears empty, but the filter is still applied. This requires manually typing something in the input field and then clearing it to properly reset the filter.
To Reproduce
Steps to reproduce the behavior:
- Create a database connection with at least one database containing some tables
- Enter a search term in the "Search for Element" input field to filter elements
- Disconnect from the database connection
- Connect to a different database connection (or reconnect to the same one)
- Observe the search input field
Expected behavior
When switching connections, the search filter should be completely cleared, both the input field and the filter state should be reset.
Screenshots
Application (please complete the following information):
- App client [e.g. MySQL]
- App version [e.g. 0.7.35]
- Installation source: [e.g. Linux Store]
Environment (please complete the following information):
- OS name: [e.g. Linux Ubuntu]
- OS version [e.g. 24.04.4 ]
- DB name [e.g. MySQL]
- DB version [e.g. 8.0]
Describe the bug
When searching for elements using the "Search for Element" input field, if you disconnect from a database connection and then connect to a different connection (or reconnect to the same one), the search input field appears empty, but the filter is still applied. This requires manually typing something in the input field and then clearing it to properly reset the filter.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When switching connections, the search filter should be completely cleared, both the input field and the filter state should be reset.
Screenshots
Application (please complete the following information):
Environment (please complete the following information):