Skip to content

Filters are not retained in the URL after deleting a record on the index page #3432

@FLX-0x00

Description

@FLX-0x00

Description:

When using dynamic filters on the index page, the filter parameters are lost after deleting a record. This behavior disrupts the user experience because it requires reapplying the filters every time a record is deleted.

Steps to Reproduce:

  1. Navigate to the index page of a resource with dynamic filters.
  2. Apply a filter to the table using the filters panel.
  3. Use the "Delete" action to remove a record.
  4. Observe that after deletion, the user is redirected back to the index page without the filter parameters in the URL.

Expected Behavior:

The filter parameters should be retained in the URL after a record is deleted, preserving the applied filters.

Actual Behavior:

After deleting a record, the page redirects to the unfiltered index page, and the filter parameters are lost.

Attachments:

Image

Environment:

  • Avo Version: latest
  • Ruby on Rails Version: 7.x

Additional Context:

This behavior disrupts workflows when managing filtered data. Retaining filter parameters in the URL would improve usability and align with expected behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNot necessarily a feature, but something has improvedStale exempt

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions