In the OPAC, if an items is both lost and checked out, it will show as lost on the search results, and checkout out in the record details. The lost status should take precedence over the checked out status, as the checked out status may lead a patron to believe the book may return soon.
Created attachment 20780 [details] [review] Bug 10820 - Lost items on search results don't jive with record details In the OPAC, if an items is both lost and checked out, it will show as lost on the search results, and checkout out in the record details. The lost status should take precedence over the checked out status, as the checked out status may lead a patron to believe the book may return soon. Test Plan: 1) Check an item out to a patron 2) Set it to lost ( requires itemlost to be revealed in the framework for the items editor ). 3) Rebuild your zebra indexes 4) Run a search where that item is in the results list 5) Note the item is marked as lost 6) View the record details 7) Note the item is listed as "checked out" 8) Apply this patch 9) Repeat steps 4-6, note the item is now listed as lost
Created attachment 20844 [details] [review] Bug 10820 - Lost items on search results don't jive with record details In the OPAC, if an items is both lost and checked out, it will show as lost on the search results, and checkout out in the record details. The lost status should take precedence over the checked out status, as the checked out status may lead a patron to believe the book may return soon. Test Plan: 1) Check an item out to a patron 2) Set it to lost ( requires itemlost to be revealed in the framework for the items editor ). 3) Rebuild your zebra indexes 4) Run a search where that item is in the results list 5) Note the item is marked as lost 6) View the record details 7) Note the item is listed as "checked out" 8) Apply this patch 9) Repeat steps 4-6, note the item is now listed as lost Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Created attachment 21355 [details] [review] Bug 10820 - Lost items on search results don't jive with record details In the OPAC, if an items is both lost and checked out, it will show as lost on the search results, and checkout out in the record details. The lost status should take precedence over the checked out status, as the checked out status may lead a patron to believe the book may return soon. Test Plan: 1) Check an item out to a patron 2) Set it to lost ( requires itemlost to be revealed in the framework for the items editor ). 3) Rebuild your zebra indexes 4) Run a search where that item is in the results list 5) Note the item is marked as lost 6) View the record details 7) Note the item is listed as "checked out" 8) Apply this patch 9) Repeat steps 4-6, note the item is now listed as lost Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Looks good to me. No qa complaints too. Passed QA
Pushed to master. Thanks, Kyle!