From fa2703f3896ba54e37f5fa4a7385531fb7e09191 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 5 Dec 2019 13:19:20 +0100 Subject: [PATCH] Bug 21270: Display "Make an Interlibrary loan request" even if "suggestions" is turned off Test plan: - Turn off "suggestions" - Enable ILLModule When logged in you should see the "Make an Interlibrary loan request" on the opac search result if not result is displayed Signed-off-by: Andrew Isherwood --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 05818aca5f..4a626deb9b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -599,7 +599,8 @@ [% END # / IF total %] - [% IF Koha.Preference( 'suggestion' ) == 1 && ( Koha.Preference( 'AnonSuggestions' ) == 1 || loggedinusername ) %] + [%# 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 ) %]
Not finding what you're looking for?
    -- 2.11.0