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

Resetting the Dynamic Filter reloads unrelated tables and resets their state #3363

Open
4 of 11 tasks
yuki-yogi opened this issue Oct 26, 2024 · 1 comment
Open
4 of 11 tasks
Labels
Bug Something isn't working

Comments

@yuki-yogi
Copy link

Describe the bug

When resetting the Dynamic Filter, the state of all tables is reset, including those that are not related to the current filter. This causes unrelated tables to reload unnecessarily.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to https://avodemo.com/avo/resources/teams/4
  2. Click on Active tab on Team members
  3. Click ID twice to sorting asc
  4. Filtering with Dynamic Filter
  5. Click Reset
  6. See error

Expected behavior & Actual behavior

Models and resource files

System configuration

Avo version: 3.13.6
Rails version: 7.2.0
Ruby version:

License type:

  • Community
  • Pro
  • Advanced

Are you using Avo monkey patches, overriding views or view components?

  • Yes. If so, please post code samples.
  • No

Screenshots or screen recordings

reset.dynamic.filter.mov

Additional context

Impact

  • High impact (It makes my app un-usable.)
  • Medium impact (I'm annoyed, but I'll live.)
  • Low impact (It's really a tiny thing that I could live with.)

Urgency

  • High urgency (I can't continue development without it.)
  • Medium urgency (I found a workaround, but I'd love to have it fixed.)
  • Low urgency (It can wait. I just wanted you to know about it.)
@Paul-Bob Paul-Bob added the Bug Something isn't working label Oct 26, 2024
@Paul-Bob
Copy link
Contributor

Paul-Bob commented Nov 8, 2024

Approach

This should be fixed by including the turbo frame on the reset button data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Next up
Development

No branches or pull requests

2 participants