]> git.koha-community.org Git - koha.git/commit
Bug 22424: (follow-up) Show blank value for empty status
authorOwen Leonard <oleonard@myacpl.org>
Mon, 29 Apr 2019 15:10:17 +0000 (15:10 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 30 Apr 2019 13:39:44 +0000 (13:39 +0000)
commitdd352428bb4fe9c5656bdf4921f913440db259a2
treeceec720a79990212b3023fb04f2a31ebb0c6df0e
parent1ad52b371d028e4ffd65bce0599dcc0f6a412465
Bug 22424: (follow-up) Show blank value for empty status

This patch updates the screen and CSV output of item searches so that if
the item does not have a lost status a blank table cell is shown instead
of "0."

This patch also amends the table headers so that "Not for loan" statuses
are explicitly labeled as such, and the "Lost" column has the header
"Lost status."

To test, apply the patch and perform an item search in the staff client
which will return results with notforloan and lost items. Verify that
the values display correctly in both onscreen and CSV output. Verify
that the column headers look correct.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
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