CLONE - Not supported search option is used in "Advanced search" modal when it was selected in "Inventory"

Description

Overview: Not supported search option is used in "Advanced search" modal when it was selected in "Inventory" and if user didn't change default search option in "Advanced search" modal.
Could be reproduced for "Query search", "Advanced search" search options from ** "Instance", "Holdings", "Item" tabs of "Inventory" app.

Steps to Reproduce:

  1. Log into Snapshot FOLIO environment as admin.

  2. Go to "Inventory" app

  3. Select search option which is not used in "Advanced search" modal, ex.: "Query search"

  4. Enter any query in search box, ex.: "title all The"

  5. Click on the "Advanced search" button.

  6. Update search query to "The".

  7. Click on the "Search" button.

Expected Results: "Keyword" search option should be used, because it's default option.
"keyword containsAll The" is displayed in search box. Records found.

Actual Results: "querySearch containsAll The" is displayed in search box. 
"Error 400: 1}" is displayed in the search result pane.

{*}See attached screencast:

{*}Note: The same issue reproduces in "MARC authority" app if user selects "Advanced search" option before opening the "Advanced search" modal.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Valery_Pilko January 8, 2024 at 11:20 AM

Verified in the scope of STCOM-1242

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Quesnelia (R1 2024)

RCA Group

Lack of testing

Affected releases

Quesnelia (R1 2024)
Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created December 22, 2023 at 9:27 PM
Updated March 13, 2024 at 3:03 PM
Resolved January 8, 2024 at 3:45 PM
TestRail: Cases
TestRail: Runs