Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-150

correctly load URLs with filters containing dynamic filterConfig values

    XMLWordPrintable

Details

    Description

      Test case:
      Go to Users
      Select a patron group filter
      Then refresh the page.
      After the refresh, the filter should be applied.

      ui-users/Users.js updates filterConfig in componentWillUpdate but that means it can’t set state.filters so that the UI would reflect the URL. This causes URLs like http://localhost:3000/users?filters=pg.staff not to load correctly while http://localhost:3000/users?filters=active.Active (the active values are hard-coded) work fine.

      Same for the Material Type filters in ui-items/Items.js

      TestRail: Results

        Attachments

          Activity

            People

              rjruizes Roman Ruiz-Esparza
              zburke Zak_Burke
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases