From 812f0f9732276db1e2ebc6a352f314d365d9ad47 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 10 Nov 2020 21:21:17 +0000 Subject: [PATCH] Bug 26943: Add notforloan statuses to catalog search - create a positive value and a description of "Positive" - set an item to your "Positive" value - pull up the related bib in a cataloging search - confirm it shows "Not for loan" in the Location column - create a negative value and a description of "Negative" - set an item to your "Negative" value - pull up the related bib in a cataloging search - confirm it shows "On order" in the Location column - Apply patch - re-do the cataloing search, instead of 'Not for loan' or 'On order' you should instead see the actual nfl description Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Signed-off-by: Telishia Mickens --- .../intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt index cf82814234..99af679b59 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt @@ -118,10 +118,17 @@ [% IF ( resultsloo.onloancount ) %] Checked out ([% resultsloo.onloancount | html %]),
[% END %] [% IF ( resultsloo.withdrawncount ) %] Withdrawn ([% resultsloo.withdrawncount | html %]),
[% END %] [% IF ( resultsloo.itemlostcount ) %] Lost ([% resultsloo.itemlostcount | html %])
[% END %] - [% IF ( resultsloo.orderedcount ) %] On order ([% resultsloo.orderedcount | html %])
[% END %] - [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount | html %])[% END %] [% IF ( resultsloo.onholdcount ) %] Waiting on hold ([% resultsloo.onholdcount | html %])[% END %] + + [% IF ( resultsloo.other_items_loop ) %] + [% FOREACH items_loo IN resultsloo.other_items_loop %] + [% IF ( items_loo.notforloan ) %] + [% items_loo.notforloan | html %] ([% items_loo.count | html %]) + [% END %] + [% END %] + [% END %] +
-- 2.11.0