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

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Valery_Pilko January 8, 2024 at 11:18 AM

Verified on Snapshot environment - issue was fixed.
See attached screencast:

Dmytro Melnyshyn December 22, 2023 at 10:02 PM

Hi - the bug described in the comment above will be fixed after is deployed.

Valery_Pilko December 22, 2023 at 2:35 PM

Hi  
Issue was fixed only for "Query search" option in "Inventory" app 
But issue still reproduces for "Advanced search" option in "Inventory" app and for "Advanced search" option in "MARC authority" app
See attached screencast:

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 7, 2023 at 8:54 AM
Updated March 13, 2024 at 3:45 AM
Resolved January 8, 2024 at 3:45 PM
TestRail: Cases
TestRail: Runs