Copy Status Flag is_available not respected by search results

Bug #1849357 reported by Josh Stompro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

EG 3.3.4

It doesn't seem like the 3.0 search rewrite ("Eliminate staged search" Bug #1698206) included support for the is_available copy status flag.

Steps to reproduce:
1. I added the is_available flag to our local "On Display" copy status.

2. I selected a title with just one available copy, that shows up when I search with the "Limit to available" checkbox selected.

3. I changed the status of that one copy to "On Display".

4. A repeated search doesn't pull up the title anymore.

It appears that OpenILS/Application/Storage/Driver/Pg/QueryParser.pm has a hard coded list of '{0,7,12}' for status availability testing.
https://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm;h=950a081b63a30b9c0889dbc3ef27fff51150abe7;hb=HEAD#l1032

It looks like the is_available logic (bug #1464709) was added to metabib.pm but wasn't moved over to QueryParser.pm when the rewrite happened.

Josh

Tags: perl search
tags: added: perl searching
tags: added: search
removed: searching
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.