From 2d2e4dc77319e78e2e36e205a9ee9073e3823ed9 Mon Sep 17 00:00:00 2001 From: Pedro Amorim 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 --- 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 be7e0af8898..f05b1fccd2d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -432,7 +432,7 @@ [% 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') ) ) %]
Not finding what you're looking for?
    @@ -443,7 +443,7 @@
  • Make a purchase suggestion
  • [% END %] [% END %] - [% IF Koha.Preference( 'ILLModule' ) == 1 && loggedinusername %] + [% IF Koha.Preference( 'ILLModule' ) == 1 && ( loggedinusername || Koha.Preference( 'ILLOpacUnauthenticatedRequest' ) ) %] [% IF Koha.Preference( 'AutoILLBackendPriority' ) %]
  • Make an interlibrary loan request
  • [% ELSE %] -- 2.39.5