Bug 10820 - Lost items on search results don't jive with record details
Summary: Lost items on search results don't jive with record details
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Kyle M Hall
QA Contact: Marcel de Rooy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-04 16:13 UTC by Kyle M Hall
Modified: 2014-12-07 20:03 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 10820 - Lost items on search results don't jive with record details (2.70 KB, patch)
2013-09-04 16:16 UTC, Kyle M Hall
Details | Diff | Splinter Review
Bug 10820 - Lost items on search results don't jive with record details (2.76 KB, patch)
2013-09-07 07:14 UTC, Chris Cormack
Details | Diff | Splinter Review
Bug 10820 - Lost items on search results don't jive with record details (2.86 KB, patch)
2013-09-23 10:32 UTC, Marcel de Rooy
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle M Hall 2013-09-04 16:13:23 UTC
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.
Comment 1 Kyle M Hall 2013-09-04 16:16:51 UTC Comment hidden (obsolete)
Comment 2 Chris Cormack 2013-09-07 07:14:35 UTC Comment hidden (obsolete)
Comment 3 Marcel de Rooy 2013-09-23 10:32:59 UTC
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>
Comment 4 Marcel de Rooy 2013-09-23 10:33:55 UTC
Looks good to me. No qa complaints too.

Passed QA
Comment 5 Galen Charlton 2013-10-11 14:35:55 UTC
Pushed to master.  Thanks, Kyle!