superset icon indicating copy to clipboard operation
superset copied to clipboard

Dashboard filters do not persist on page refresh

Open Fingerzam opened this issue 8 years ago • 3 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [X] I have checked the superset logs for python stacktraces and included it here as text if any
  • [X] I have reproduced the issue with at least the latest released version of superset
  • [X] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.27.0rc1

Expected results

The page reloads with the same values for filters

Actual results

The filters reset to defaults. They used to persist.

Steps to reproduce

Go to a dashboard, apply some filters with a filter box, refresh page.

In earlier versions all of the filter values were reflected in the url params, and hence refreshing the page would use the same filters.

Fingerzam avatar Aug 14 '18 11:08 Fingerzam

if your dashboard used stateful url (with filter parameters), or dashboard was saved with some default filters, dashboard will remember old settings even after page reload. But if you don't save these filters anywhere, i am not sure dashboard will remember the previous filter state.

graceguo-supercat avatar Aug 14 '18 23:08 graceguo-supercat

We do have a patch which will save filterbox config to dashboard meta data and then prefetch it upon opening of dashboard.

Will submit the merge request some time after next week.

xqliu avatar Aug 22 '18 09:08 xqliu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Apr 10 '19 16:04 stale[bot]