Bug 13516: Display issue for search results with items both checkout out and lost
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 5 Jan 2015 15:10:57 +0000 (10:10 -0500)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 7 May 2015 13:57:46 +0000 (10:57 -0300)
commit64bb1162b6c34717e0abb07778e38b43b6dd0ab8
tree5ae0b1f4b0b12c0ef51cd1e672dec36c013ed379
parentd933d054cd360ceb339a7113451fa807db5e155d
Bug 13516: Display issue for search results with items both checkout out and lost

If the staff search results, if an item is both checked out and lost,
the result will appear as two item lines where one line has the lost
status and the other line has the rest of the item's data.

Test Plan:
1) Check an item out to a patron
2) Mark the item as lost *without* removing the item from the patron's
   record, either by using longoverdue.pl or by editing the itemlost
   field in the database directly.
3) Perform a search where that item will be in the results
4) Note the improper display of the item's data
5) Apply this patch set
6) Reload the search restults
7) Note the item now displays correctly

Signed-off-by: Nick <nick@quecheelibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Search.pm