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

Sorting Charts/Dashboards makes the applied filters ineffective #14292

Closed
3 tasks done
KrupaVadher opened this issue Apr 22, 2021 · 5 comments · Fixed by #27258
Closed
3 tasks done

Sorting Charts/Dashboards makes the applied filters ineffective #14292

KrupaVadher opened this issue Apr 22, 2021 · 5 comments · Fixed by #27258
Assignees
Labels
#bug Bug report

Comments

@KrupaVadher
Copy link

KrupaVadher commented Apr 22, 2021

Charts/Dashboard's card view: After applying any filter (e.x Favorite=Yes); if we select any sorting option from the sort dropdown menu, the filtered list get reset and the entire list is shown.

Expected results

If any filter is applied to the list, then sorting that list should retain the applied filters.

Actual results

The applied filter to the list gets reset to its original state after selecting any sort criteria.

In the video below, if we apply a filter (Favorite = Yes) to the list of charts, then selecting sort = Alphabetical will reset the filters and show the list with all charts (Starred and Un-Starred)

Screenshots

SortandFilter.mov

How to reproduce the bug

  1. Go to Charts from toolbar and select the 'Card' view
  2. Apply a filter by selecting Favorite = Any from the list headers. Make sure you have few favorite/starred charts to see the results
  3. Select Sort = Alphabetical
  4. You will see that the entire list is shown even though we have applied the filter to show only favorite charts

Environment

  • superset version: commit# c9a755f
  • python version: python 2.7.16
  • node.js version: v13.11.0

Checklist

  • I have checked the superset logs for python stacktraces and included it here as text if there are 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.
@KrupaVadher KrupaVadher added the #bug Bug report label Apr 22, 2021
@villebro
Copy link
Member

Thanks for reporting @KrupaVadher ! I can confirm the bug.

@stale
Copy link

stale bot commented Jun 26, 2021

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 stale bot added the inactive Inactive for >= 30 days label Jun 26, 2021
@MM-Lehmann
Copy link

please reactivate.
I can confirm this in 1.4.2

@stale stale bot removed the inactive Inactive for >= 30 days label Apr 6, 2022
@rusackas
Copy link
Member

Looks like this is still an issue in 2.0.1 :(

@alxbay
Copy link

alxbay commented Feb 15, 2024

The same problem in 3.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants