Keep table search status


I have an application with a tabbed container with 2 views:

The view "Overview" contains a table with records from an rest api with a client side pager and a search field which is connected to the search term of the table.
When you select a row in the overview you can edit the selected record in the view "Edit".

When I search for something in the search field I get a subset of records which match the search string. When I select a row to edit and switch to the view "Edit" and then return to the "Overview" view the searched subset of records is not maintained. It looks like the search is reset and all records are displayed. However the search string is maintained.

How can I restore the table with the previous searched subset of records?