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

Avoid duplication of filters on back #2998

Merged
merged 1 commit into from
May 4, 2018

Commits on Mar 7, 2018

  1. Avoid duplication of filters on back

    Bug: filters are duplicated when using back button
    Repro steps:
    Using Chrome, visit a list page, apply a filter, click into an element, click back button
    Using these steps, I see a duplicated filter. RailsAdmin is appending the filters regardless
    of whether or not they are there.
    
    This fixes that by adding an id to each filter based on the name and index.
    Before appending, it removes any filters with that id.
    evanboho committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    9523a33 View commit details
    Browse the repository at this point in the history