From 6932e05569aa6be0ed165a28ddc2a4213a3a263e 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: Telishia Mickens Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../prog/en/modules/cataloguing/addbooks.tt | 9 +++++++-- 1 file changed, 7 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..d6cc00d9f4 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,15 @@ [% 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.39.5