Bugzilla – Attachment 174507 Details for
Bug 36197
Allow for OPAC unauthenticated ILL request
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36197: OPAC 'Make an ILL request' link
Bug-36197-OPAC-Make-an-ILL-request-link.patch (text/plain), 2.31 KB, created by
Pedro Amorim
on 2024-11-14 11:37:47 UTC
(
hide
)
Description:
Bug 36197: OPAC 'Make an ILL request' link
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-11-14 11:37:47 UTC
Size:
2.31 KB
patch
obsolete
>From b58b15428aa4ebd45f74f50d4860dee3f216b2d0 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 18 Apr 2024 15:09:39 +0000 >Subject: [PATCH] Bug 36197: OPAC 'Make an ILL request' link > >Show the 'Make an ILL request' link for >unauthenticated users in the OPAC search results page >if ILLOpacUnauthenticatedRequest is enabled. > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 9 +++++++-- > 1 file changed, 7 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 291e422583..6e2e7b301b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt >@@ -393,7 +393,10 @@ > [% END # / IF total %] > > [%# Display "Not finding what you're looking for" for suggestion or ILL %] >- [% IF suggestion || ( Koha.Preference( 'ILLModule' ) == 1 && loggedinusername ) %] >+ [% IF >+ suggestion || >+ ( Koha.Preference( 'ILLModule' ) == 1 && ( loggedinusername || Koha.Preference( 'ILLOpacUnauthenticatedRequest') ) ) >+ %] > <div class="suggestion"> > Not finding what you're looking for? > <ul> >@@ -404,7 +407,9 @@ > <li>Make a <a href="/cgi-bin/koha/opac-suggestions.pl?op=add_form">purchase suggestion</a></li> > [% END %] > [% END %] >- [% IF Koha.Preference( 'ILLModule' ) == 1 && loggedinusername %] >+ [% IF Koha.Preference( 'ILLModule' ) == 1 && >+ ( loggedinusername || Koha.Preference( 'ILLOpacUnauthenticatedRequest' ) ) >+ %] > [% IF Koha.Preference( 'AutoILLBackendPriority' ) %] > <li>Make an automatic <a href="/cgi-bin/koha/opac-illrequests.pl?op=create&backend=Standard">Interlibrary loan request</a></li> > [% ELSE %] >-- >2.39.5
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 36197
:
171358
|
171359
|
171360
|
171361
|
171362
|
171363
|
171364
|
171365
|
171366
|
171367
|
171368
|
171369
|
171370
|
171371
|
174495
|
174496
|
174497
|
174498
|
174499
|
174500
|
174501
|
174502
|
174503
|
174504
|
174505
|
174506
| 174507 |
174508
|
176564
|
176565
|
176680
|
176723
|
176724
|
176726
|
176727