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

[Bug]: Interconnected Filters Not Refreshing Properly #2828

Open
chapeaupaul opened this issue Nov 21, 2024 · 0 comments
Open

[Bug]: Interconnected Filters Not Refreshing Properly #2828

chapeaupaul opened this issue Nov 21, 2024 · 0 comments
Labels
bug Something isn't working customer request An Evidence customer has requested this high-priority Bug significantly impacting the Evidence UX for many users. Immediate fix

Comments

@chapeaupaul
Copy link

chapeaupaul commented Nov 21, 2024

Describe the bug

In a dashboard with multiple interconnected filters, selecting or updating a value in one filter does not trigger the other filters to refresh their values as expected when filters are initially set to display all values by default.

For instance, when a filter is configured to update its values dynamically based on the selection in another filter, the expected cascading behavior does not occur.

Slack thread

Steps to Reproduce

Create two filters with multi-select enabled and "Select All" set as the default option.
Configure the filters to cascade, so that the values in one filter dynamically adjust based on the selection made in the other.

two filters

sql query one:
```sql  query_one
select
value_one
from table
```

sql query two:
```sql  query_two
select 
value_two
from table
where value_one in ${inputs.filter_one.value}
```

<Dropdown
    name=filter_one
    data={query_one}
    value=value_one
    selectAllByDefault=true
    multiple=true
/>

<Dropdown
    name=filter
    data={query_two}
    value=value_two
    selectAllByDefault=true
    multiple=true
/>

Logs

System Info

Severity

serious, but I can work around it

Additional Information, or Workarounds

No response

@chapeaupaul chapeaupaul added bug Something isn't working to-review Evidence team to review labels Nov 21, 2024
@github-actions github-actions bot added the customer request An Evidence customer has requested this label Nov 21, 2024
@archiewood archiewood added high-priority Bug significantly impacting the Evidence UX for many users. Immediate fix and removed to-review Evidence team to review labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working customer request An Evidence customer has requested this high-priority Bug significantly impacting the Evidence UX for many users. Immediate fix
Projects
None yet
Development

No branches or pull requests

2 participants