filters - the list should remain filtered if we access the same ui-state in different ways #685
Description
Hello guys :) Very good work with ng-admin, congrats!!!!!
I have a little bug with the filters..
So, my application has a dashboard with a list of Clients, and a menu with clients and other entities. From the dashboard I can go to the page /clients/list where I list the clients with some information.
I also added some filters on name, status and address.
To see the list of clients I can also click on the menu Clients that correspond to the same url: /clients/list
(I want to specify that these are views generated by ng-admin, none of them is custom)
So, this is the workflow:
From the dahsboard, I click on the link 'My Clients' and I am redirected to /clients/list. Then I filter by name, I put the value 'john' in the textbox filter.
My table is filtered correctly, so everything is OK till now.
Then I click on the menu item 'My Clients' and I am redirected to the same url /clients/list, with the value of the filter 'john' (the value remains typed in).
The problem is that the list of clients is not filtered anymore because the _filter query is made only when we type something in the filter box.
Actually the filter should have a watch.. if there is something already typed in the filter then it should list the clients filtered.
Thank you!
Gabriela