Bugzilla – Attachment 145004 Details for
Bug 32445
Status display of 'not for loan' items is broken in OPAC/staff
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32445: Fix display of 'not for loan' items in staff
Bug-32445-Fix-display-of-not-for-loan-items-in-sta.patch (text/plain), 1.75 KB, created by
Martin Renvoize
on 2023-01-04 12:28:22 UTC
(
hide
)
Description:
Bug 32445: Fix display of 'not for loan' items in staff
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2023-01-04 12:28:22 UTC
Size:
1.75 KB
patch
obsolete
>From ecee711fde5296591f3d86a4674e977f9e1cf6ce Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Mon, 12 Dec 2022 09:46:18 -1000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index e59ed096b99..ace46656c9b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -552,7 +552,7 @@ Note that permanent location is a code, and location may be an authval. > [% END %] > [% END %] > >- [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfer || hold || ( Koha.Preference('UseRecalls') && recall ) ) %] >+ [% UNLESS ( item.notforloan || item.itemtype.notforloan || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfer || hold || ( Koha.Preference('UseRecalls') && recall ) ) %] > <span>Available</span> > [% END %] > >-- >2.39.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32445
:
144542
|
144926
|
144927
|
144928
|
144929
|
144930
|
144971
|
144978
|
144987
|
144988
|
144989
|
144990
|
144991
|
144992
|
144993
|
144994
|
145004
|
145005
|
145006
|
145007
|
145008
|
145009
|
145010
|
145011
|
145014
|
145015
|
145016
|
145017
|
145018
|
145019
|
145020
|
145021