Bugzilla – Attachment 79478 Details for
Bug 20639
Allow setting a default/single backend for OPAC driven requests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20639: (follow-up) Fix population of backends
Bug-20639-follow-up-Fix-population-of-backends.patch (text/plain), 1.39 KB, created by
PTFS Europe Sandboxes
on 2018-09-27 11:19:40 UTC
(
hide
)
Description:
Bug 20639: (follow-up) Fix population of backends
Filename:
MIME Type:
Creator:
PTFS Europe Sandboxes
Created:
2018-09-27 11:19:40 UTC
Size:
1.39 KB
patch
obsolete
>From 97085164f92fecc22a823e6c305a660cc8339e05 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Thu, 27 Sep 2018 11:44:27 +0100 >Subject: [PATCH] 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 >--- > Koha/Illrequest.pm | 4 ++-- > opac/opac-illrequests.pl | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm >index 99b97bdbe4..4c84b651af 100644 >--- a/Koha/Illrequest.pm >+++ b/Koha/Illrequest.pm >@@ -477,8 +477,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; > } > >diff --git a/opac/opac-illrequests.pl b/opac/opac-illrequests.pl >index 329dc24792..5308c5ab4a 100755 >--- a/opac/opac-illrequests.pl >+++ b/opac/opac-illrequests.pl >@@ -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') { >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20639
:
74806
|
74811
|
75165
|
78119
|
79033
|
79474
|
79477
|
79478
|
84932
|
84933
|
84934