You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when model.save_state=True
Add search value, refresh the page - search string keeps the search value, filter is applied - OK
Revisit the page. Search value is empty, filter is still applied. - wrong
when model.save_state=False
Add search value, refresh the page - search string keeps the search value, filter is not applied. - OK?
Revisit the page. Search value is empty, filter is not applied. - OK
I think we need a deep work on the state management and consider saving the state in the URL. All of this is possible with DataTables
when model.save_state=False
Add search value, refresh the page - search string keeps the search value, filter is not applied. - OK?
Revisit the page. Search value is empty, filter is not applied. - OK
Describe the bug
After returning to a page with configured Filter parameters, records are not filtered until the parameters are changed again.
To Reproduce
Go to the demo site, to the "Blog Posts" view: https://starlette-admin-demo.jowilf.com/admin/sqla/post/list
Select Filter, "Title, Contains, test"
Result: Filter is applied, records are filtered. - correct.
Go to another view, e.g. "Comments", get back to "Blog Posts".
Result: Filter is set, but records are not filtered - wrong.
Environment (please complete the following information):
also can be reproduced on the official demo site.
The text was updated successfully, but these errors were encountered: