From fff40a01cc0aa97d2a1c730e68a84e61ad9ffbf2 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Fri, 17 Jan 2025 11:02:56 -0100 Subject: [PATCH] Bug 36197: (QA follow-up): Pass the filtered OPAC backends to OPAC template The list of backends in the dropdown in this page: http://localhost:8080/cgi-bin/koha/opac-illrequests.pl?op=create If unauthenticated is enabled, this is listing all backends, instead of making use of opac_available_backends. --- opac/opac-illrequests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-illrequests.pl b/opac/opac-illrequests.pl index ce319eda2cc..08dd43df840 100755 --- a/opac/opac-illrequests.pl +++ b/opac/opac-illrequests.pl @@ -121,7 +121,7 @@ if ( $op eq 'list' ) { if (!$params->{backend}) { my $req = Koha::ILL::Request->new; $template->param( - backends => $req->available_backends + backends => $backends ); } else { $params->{backend} = 'Standard' if $params->{backend} eq 'FreeForm'; -- 2.39.5