Bug 22424: Add search by all lost statuses to item search
authorOwen Leonard <oleonard@myacpl.org>
Wed, 27 Feb 2019 15:31:29 +0000 (15:31 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 30 Apr 2019 13:39:44 +0000 (13:39 +0000)
commit1ad52b371d028e4ffd65bce0599dcc0f6a412465
treee5334371c263f7ff6ec920408df6a6d3e34ab354
parent1a44ce023e3c5dc0e8a547b8535c080602674c26
Bug 22424: Add search by all lost statuses to item search

This patch changes the item search form so that searching by lost status
includes options for all lost authorised values instead of just "yes" or
"no."

To test you should have multiple authorized values for LOST.

 - Apply the patch and open the item search form.
 - Test searches which limit by lost status. Confirm that results are
   correctly limited.
 - Confirm that lost statuses are correctly displayed in the search
   results.
 - Confirm that in the search results table, the column header for
   "Lost" includes a dropdown menu for filtering by all available
   authorized values for lost.
 - Test the CSV export function and confirm that lost status is
   correctly exported.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
catalogue/itemsearch.pl
koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc
koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc
koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/catalogue/itemsearch.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt