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

Regression using * in ::multi-filter fields #964

Open
kewisch opened this issue Jun 3, 2019 · 2 comments
Open

Regression using * in ::multi-filter fields #964

kewisch opened this issue Jun 3, 2019 · 2 comments
Assignees

Comments

@kewisch
Copy link

kewisch commented Jun 3, 2019

Issue Summary

Since the recent STMO deployment, queries using the * trick for ::multi-filters no longer display the right results. See this upstream PR for details, it is unfortunately not well documented.

Steps to Reproduce

  1. Run this query and notice it has results and works fine
  2. Run this other query which is the same but adds a result row with * in the ::multi-filter fields which should conveniently select all values in the ::multi-filter

Results

  • Query 2 only has one row with the * in it, the other results are missing.
  • The ::multi-filters are not pre-populated with the values, only *.

Expected

  • All rows from the query result are shown.
  • The row with * is not shown as a result, but pre-populates the ::multi-filters as before
@washort
Copy link

washort commented Jun 12, 2019

This behavior was an unintentional "feature" and has gone away due to upstream rewriting the filter UI to be a react component. (This is arguably a bug if any of the values to be filtered on are *.)

A proper fix for this might be to add a toggle in the chart-editing UI to make filters default to all values instead of none.

@kewisch
Copy link
Author

kewisch commented Jun 16, 2019

See getredash#3905 for a WiP upstream PR, I'll file an actual issue a bit later.

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

No branches or pull requests

3 participants