]> git.koha-community.org Git - koha.git/commit
Bug 20341: Show authorized value description for withdrawn like damaged and lost
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 6 Mar 2018 11:26:19 +0000 (12:26 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 24 Apr 2018 05:10:53 +0000 (07:10 +0200)
commit12dd65fda95fbf40f2d58c0a79197b1435b50430
tree1fa82902eee9fc4956b7c1240a54604bccaeb72d
parent38d62cec1d25efd6503305019e92a099bbb1d0f5
Bug 20341: Show authorized value description for withdrawn like damaged and lost

Actually catalog detail page shows for damaged and lost items the authorized value description if exists.
We must do the same for withdrawn information.

Test plan :
1) Set for items a subfield linked to items.withdrawn and using the authorized value category 'WITHDRAWN'
2) Edit the authorized value category to add value '2' and description 'Eaten by dog'
3) Edit an item to set this withdrawn value
4) Go to staff interface and look at items in record detail page /cgi-bin/koh/catalogue/detail.pl :
=> Without patch you see 'Withdrawn' and with patch you see 'Eaten by dog'
5) Go to OPAc and look at items in record detail page /cgi-bin/koha/opac-detail.pl :
=> Without patch you see 'Withdrawn' and with patch you see 'Eaten by dog'

Signed-off-by: delaye <stephane.delaye@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 830ce35795f7bbd68d6b68c4795cb36f27fe2b6d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
catalogue/detail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc