Retain browse query when switching Inventory browse options

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Description

Purpose: After a user enters in a query in Browse, when they change browse options, the query is cleared from the box. This makes it challenging, especially in call number browsing and when switching between options, users have to either retype the query or remember to copy and paste. This stickiness should match the behavior of the Search toggle.

Requirements:

  • Retain browse query when user switches browse option - both before the search is conducted AND after the search is conducted

  • When changing browse options, do not automatically search (still require user to manually select “Search”)

Scenarios:

  • Scenario 1

    • Given the user is on the Browse toggle in Inventory, a query has been entered into the search box, and the user has selected “Search”

    • When the user changes the browse option

    • Then the original browse query should be retained

  • Scenario 2

    • Given the user is on the Browse toggle in Inventory, a query has been entered into the search box, and the user has NOT selected “Search”

    • When the user changes the browse option

    • Then the original browse query should be retained

Environment

None

Potential Workaround

None

Attachments

6

Checklist

hide

Activity

Show:

Valery_PilkoApril 15, 2024 at 6:27 AM
Edited

Verified on Quesnelia Bugfest environment - works as expected.
See attached screencast:

I’m closing this issue.
cc:

Valery_PilkoMarch 27, 2024 at 2:36 PM

Re-tested on Snapshot-2 - found issue fixed.
See attached screencast:

Christine Schultz-RichertMarch 26, 2024 at 4:04 PM

Thanks - I am fine with this behavior.

Denys BohdanMarch 26, 2024 at 3:59 PM

Hey , here’s a recording of what I’m trying to describe:

In the end there’s a list of Call numbers search with no filters - because we need to clear filters when changing between Call numbers and contributors because contributors browse doesn’t support Effective location filter

Christine Schultz-RichertMarch 26, 2024 at 3:09 PM

Hey & - I’m trying to make sure I understand the scenario:

  1. User selects call numbers browse and searches a query

  2. User selects any Effective location facet value

  3. User changes browse option to any other

The user will see the last browse results for that browse option.

This happens because we’re clearing selected facets when changing browse options. Different browse options can have different facets (call numbers and contributors for example) and if we make a browse request for contributors with selected effective location then the request will fail.

I suggest to make a separate ticket to clear facets only when browse options have different supported facets”

When the user performs a search, and then changes the browse option, before they conduct the new search, they should see the results of the previous query. When I look at snapshot and navigate between call numbers and contributors, it seems to be working as I would expect.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Quesnelia (R1 2024) Bug Fix

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 12, 2024 at 7:10 PM
Updated April 15, 2024 at 6:27 AM
Resolved March 28, 2024 at 1:24 PM
TestRail: Cases
TestRail: Runs