Bugzilla – Attachment 124271 Details for
Bug 28909
Allow interlibrary loans illview method to use backend template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28909: Fix handling if backend doesn't support
Bug-28909-Fix-handling-if-backend-doesnt-support.patch (text/plain), 1.69 KB, created by
Andrew Isherwood
on 2021-08-31 11:11:25 UTC
(
hide
)
Description:
Bug 28909: Fix handling if backend doesn't support
Filename:
MIME Type:
Creator:
Andrew Isherwood
Created:
2021-08-31 11:11:25 UTC
Size:
1.69 KB
patch
obsolete
>From 9e1fbc3c59d7e0633819dac55b6a4df925ac9dea Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Tue, 31 Aug 2021 10:06:03 +0100 >Subject: [PATCH] Bug 28909: Fix handling if backend doesn't support > >If a backend hasn't been updated to support this functionality, we need >to handle that gracefully > >Also, this commit fixes some indentation. >--- > Koha/Illrequest.pm | 6 +++--- > koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 2 ++ > 2 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm >index 4324c709ca..1fff9bb88f 100644 >--- a/Koha/Illrequest.pm >+++ b/Koha/Illrequest.pm >@@ -720,9 +720,9 @@ sub backend_illview { > my ( $self, $params ) = @_; > > my $response = $self->_backend_capability('illview',{ >- request => $self, >- other => $params, >- }); >+ request => $self, >+ other => $params, >+ }); > return $self->expandTemplate($response) if $response; > return $response; > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >index c2343844aa..cc4bf507a4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt >@@ -484,7 +484,9 @@ > </div> > > [% ELSIF query_type == 'illview' %] >+ [% IF whole.template.length > 0 %] > [% PROCESS $whole.template %] >+ [% END %] > [% req_status = request.status %] > > [% IF error %] >-- >2.20.1
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 28909
:
124174
|
124270
|
124271
|
129102
|
129103
|
129104
|
138856
|
138857
|
138858
|
138922
|
138923