Bugzilla – Attachment 115183 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.08 KB, created by
Andrew Fuerste-Henry
on 2021-01-14 20:33:19 UTC
(
hide
)
Description:
Bug 26943: Add notforloan statuses to catalog search
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2021-01-14 20:33:19 UTC
Size:
3.08 KB
patch
obsolete
>From 812f0f9732276db1e2ebc6a352f314d365d9ad47 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: > >Signed-off-by: Telishia Mickens <tmickens@gc.edu> >--- > .../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 %]),<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 %]) >+ [% 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