Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carry over dashboard filters to explore: empty fields transferred #3616

Closed
3 tasks done
rumbin opened this issue Oct 7, 2017 · 2 comments · Fixed by #3668
Closed
3 tasks done

Carry over dashboard filters to explore: empty fields transferred #3616

rumbin opened this issue Oct 7, 2017 · 2 comments · Fixed by #3668

Comments

@rumbin
Copy link
Contributor

rumbin commented Oct 7, 2017

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

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

Superset version

0.20.3

This issue is addressing the changes introduced by #3461

Expected results

Only currently active dashboard filters are transferred to the explore view and added to the already existing filters of the corresponding slice.

Actual results

Dashboard filters that were previously applied and then dropped again leave empty entries in the URL parameters which are then carried over to the explore view of the slice. This results in filter entries with empty arguments.

Furthermore, any time filters set on the dashboard result in entries in the filter list in explore view with empty column selection.
However, I guess due to #3610, I cannot currently reproduce this behavior. Nevertheless, I wanted you to be aware that this may also happen.

Steps to reproduce

Apply time filters on a dashboard; apply and then drop and other filter and afterwards click Explore chart on any slice.

@Mogball
Copy link
Contributor

Mogball commented Oct 13, 2017

Furthermore, any time filters set on the dashboard result in entries in the filter list in explore view with empty column selection.

I cannot seem to reproduce this. I am applying one of each time filter, hitting 'Apply' and then 'explore'.

Can you confirm that this is still an issue/send a screenshot?

Mogball added a commit to Mogball/incubator-superset that referenced this issue Oct 13, 2017
@rumbin
Copy link
Contributor Author

rumbin commented Oct 13, 2017

@Mogball No, actually, the time filters are now (0.20.4) carried over nicely, including time column and time grain. So there are no empty filters entries created any more.

However, any column filters that have been previously applied and then cleared again still leave empty fields whern carried over to Explore.

Mogball added a commit to Mogball/incubator-superset that referenced this issue Nov 8, 2017
* Added altered tag to explore slice view and fixes apache#3616

* unit tests

* Moved getDiffs logic into AlteredSliceTag
mistercrunch pushed a commit that referenced this issue Nov 11, 2017
* Added altered tag to explore slice view and fixes #3616

* unit tests

* Moved getDiffs logic into AlteredSliceTag

* code style fixs
michellethomas pushed a commit to michellethomas/panoramix that referenced this issue May 24, 2018
* Added altered tag to explore slice view and fixes apache#3616

* unit tests

* Moved getDiffs logic into AlteredSliceTag

* code style fixs
wenchma pushed a commit to wenchma/incubator-superset that referenced this issue Nov 16, 2018
* Added altered tag to explore slice view and fixes apache#3616

* unit tests

* Moved getDiffs logic into AlteredSliceTag

* code style fixs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants