Bug 20639: (follow-up) Fix population of backends
The OPAC view wasn't correctly restricting the display of backends when the ILLOpacbackends preference was set. See the test plan on comment 7 Signed-off-by: Niamh.Walker-Headon@it-tallaght.ie Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
ef6ad443a8
commit
6d3136c7e8
|
|
@ -578,8 +578,8 @@ Return a list of available backends.
|
|||
=cut
|
||||
|
||||
sub available_backends {
|
||||
my ( $self ) = @_;
|
||||
my $backends = $self->_config->available_backends;
|
||||
my ( $self, $reduced ) = @_;
|
||||
my $backends = $self->_config->available_backends($reduced);
|
||||
return $backends;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ if ( $op eq 'list' ) {
|
|||
my $req = Koha::Illrequest->new;
|
||||
$template->param(
|
||||
requests => $requests,
|
||||
backends => $req->available_backends
|
||||
backends => $backends
|
||||
);
|
||||
|
||||
} elsif ( $op eq 'view') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue