]> git.koha-community.org Git - koha.git/commit
Bug 32445: Fix display of 'not for loan' items in staff
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 12 Dec 2022 19:46:18 +0000 (09:46 -1000)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Fri, 13 Jan 2023 15:47:38 +0000 (15:47 +0000)
commitd2779856901b335babf02d677ae322aa01f51af9
treece27033fc3594d41997ab680de0441ca7bcf090a
parentc5ed136060f3331a32a9292ac04f2e3c462a3fc6
Bug 32445: Fix display of 'not for loan' items in staff

test plan :
1) Edit any item, item type should be for loan, so not set to reference.
2) Set Not for loan status to "not for loan".
3) Go to the staff detail page:
=> Without patch it displays as: Not for loan (Not For Loan) Available
=> With patch it displays as: Not for loan (Not For Loan)

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit c346084facaae681bf5092ffcda7eef0c09eac6a)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt