Bugzilla – Attachment 140274 Details for
Bug 31333
Add the ability to limit purchase suggestions by patron category
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31333: (QA follow-up) Add the new check to OPAC result list
Bug-31333-QA-follow-up-Add-the-new-check-to-OPAC-r.patch (text/plain), 1.98 KB, created by
Katrin Fischer
on 2022-09-07 11:33:27 UTC
(
hide
)
Description:
Bug 31333: (QA follow-up) Add the new check to OPAC result list
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-09-07 11:33:27 UTC
Size:
1.98 KB
patch
obsolete
>From 75b87002da2717f0b9a65f21e17f81c1c6d157b8 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 28 Aug 2022 11:14:46 +0200 >Subject: [PATCH] Bug 31333: (QA follow-up) Add the new check to OPAC result > list > >When no result is found and at the bottom of the result list >the option to make a purchase suggestion is displayed. This >also needs to use the new check. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >index b8e0d4844a..c47962d22c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -549,11 +549,11 @@ > [% END # / IF total %] > > [%# Display "Not finding what you're looking for" for suggestion or ILL %] >- [% IF Koha.Preference( 'suggestion' ) == 1 && ( Koha.Preference( 'AnonSuggestions' ) == 1 || loggedinusername ) || ( Koha.Preference( 'ILLModule' ) == 1 && loggedinusername ) %] >+ [% IF suggestion && ( Koha.Preference( 'AnonSuggestions' ) == 1 || loggedinusername ) || ( Koha.Preference( 'ILLModule' ) == 1 && loggedinusername ) %] > <div class="suggestion"> > Not finding what you're looking for? > <ul> >- [% IF Koha.Preference( 'suggestion' ) == 1 %] >+ [% IF suggestion %] > [% IF Koha.Preference( 'AnonSuggestions' ) == 1 %] > <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add">purchase suggestion</a></li> > [% ELSIF loggedinusername %] >-- >2.30.2
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 31333
:
139112
|
139113
|
139114
|
139165
|
139897
|
139898
|
139935
|
139936
|
140169
|
140170
|
140171
|
140172
|
140173
|
140174
|
140270
|
140271
|
140272
|
140273
| 140274 |
140275
|
140276
|
141392
|
141393