Details
-
Bug
-
Resolution: Fixed
-
High
-
2015.11.2
-
None
Description
It is follow up issue for https://jira.ez.no/browse/EZP-25033
Steps to reproduce:
- Go to any content with PlatformUI
- Click "Copy" from action bar
- UDW shows up, switch to the "Search" tab
- Insert search text that have many results so results will be paginated (for example "a" - it should provide more results than limit of the search)
- Go to last page with pagination (or another one, just be sure that you are on different page than 1st one)
- Close UDW with "Cancel" button
- Click again "Copy" button from action bar and switch to the "Search" tab in UDW
- You will see that result list contains results from previous search while it should be empty (as search text is not provided)
The reason of that is probably that location search is trigerred on both `offsetChange` and `searchTextChange` events so it is called twice while `offset` and `searchText` attributes are being reset. Both attribute should be reset when UDW is being closed.