Bugzilla – Attachment 116474 Details for
Bug 26943
Show not for loan descriptions in cataloging search (addbooks.pl)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26943: Add notforloan statuses to catalog search
Bug-26943-Add-notforloan-statuses-to-catalog-searc.patch (text/plain), 3.01 KB, created by
Katrin Fischer
on 2021-02-07 12:53:15 UTC
(
hide
)
Description:
Bug 26943: Add notforloan statuses to catalog search
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-02-07 12:53:15 UTC
Size:
3.01 KB
patch
obsolete
>From 6ceaf62e8ac866bbd4b1513b7f8f9a2640b747e8 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 <andrew@bywatersolutions.com> > >Signed-off-by: Telishia Mickens <tmickens@gc.edu> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/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 %]),<br /> [% END %] > [% IF ( resultsloo.withdrawncount ) %] Withdrawn ([% resultsloo.withdrawncount | html %]),<br /> [% END %] > [% IF ( resultsloo.itemlostcount ) %] Lost ([% resultsloo.itemlostcount | html %])<br />[% END %] >- [% IF ( resultsloo.orderedcount ) %] On order ([% resultsloo.orderedcount | html %])<br/>[% END %] >- [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount | html %])[% END %] > [% IF ( resultsloo.onholdcount ) %] Waiting on hold ([% resultsloo.onholdcount | html %])[% END %] > </span> >+ <span class="notforloan"> >+ [% 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 %])<br />[% END %] >+ [% END %] >+ [% END %] >+ </span> > </td> > <td> > <div class="dropup"> >-- >2.11.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 26943
:
113429
|
114105
|
115183
|
115376
| 116474