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. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
b05ac1b06b
commit
ce3b8e0b0c
|
|
@ -117,7 +117,7 @@ if ( $op eq 'list' ) {
|
|||
} elsif ( $op eq 'cud-create' ) {
|
||||
if ( !$params->{backend} ) {
|
||||
my $req = Koha::ILL::Request->new;
|
||||
$template->param( backends => $req->available_backends );
|
||||
$template->param( backends => $backends );
|
||||
} else {
|
||||
$params->{backend} = 'Standard' if $params->{backend} eq 'FreeForm';
|
||||
my $request = Koha::ILL::Request->new->load_backend( $params->{backend} );
|
||||
|
|
|
|||
Loading…
Reference in New Issue