Bug 15922: Show authorized value description in staff client search results for lost...
authorOwen Leonard <oleonard@myacpl.org>
Fri, 26 Feb 2016 02:12:30 +0000 (21:12 -0500)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Apr 2018 15:42:40 +0000 (12:42 -0300)
commitfdea02efce857153bd34aab1a7fe600c765c4ad9
treefd85709a5d501595025f505fd8a73d78046dd6b2
parent3c5843b1564cc2f1cab2c6bb8be7556b51730631
Bug 15922: Show authorized value description in staff client search results for lost, withdrawn, and damaged

If an item in the staff client search results list is lost, withdrawn,
or damaged, the actual authorized value description for each of those
statuses should be displayed rather than the generic term. This patch
adds use of the AuthorisedValues template plugin to output the correct
description.

To test, apply the patch and perform a catalog search in the staff
client which will return results with various values for lost, damaged,
and withdrawn.

Confirm that the correct lost, damaged, or withdrawn status appears for
each item rather than the generic term.

Followed test plan, statuses appear as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt