Bugzilla – Attachment 158327 Details for
Bug 35247
Add new route to simply list old reserves by patron id
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35247: (follow-up) Perltidy fixes to OldHolds.pm
Bug-35247-follow-up-Perltidy-fixes-to-OldHoldspm.patch (text/plain), 1.13 KB, created by
Owen Leonard
on 2023-11-03 11:41:28 UTC
(
hide
)
Description:
Bug 35247: (follow-up) Perltidy fixes to OldHolds.pm
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-11-03 11:41:28 UTC
Size:
1.13 KB
patch
obsolete
>From ccdbe78a96df9809f0cdc2184a0fc788bb72c902 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 3 Nov 2023 11:39:40 +0000 >Subject: [PATCH] Bug 35247: (follow-up) Perltidy fixes to OldHolds.pm > >Whitespace changes only. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > Koha/REST/V1/Patrons/OldHolds.pm | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) > >diff --git a/Koha/REST/V1/Patrons/OldHolds.pm b/Koha/REST/V1/Patrons/OldHolds.pm >index f26520f68b..25db4c8f23 100644 >--- a/Koha/REST/V1/Patrons/OldHolds.pm >+++ b/Koha/REST/V1/Patrons/OldHolds.pm >@@ -40,12 +40,10 @@ sub list { > > my $patron = Koha::Patrons->find( $c->param('patron_id') ); > >- unless ( $patron ) { >+ unless ($patron) { > return $c->render( > status => 404, >- openapi => { >- error => 'Patron not found' >- } >+ openapi => { error => 'Patron not found' } > ); > } > >@@ -57,8 +55,7 @@ sub list { > status => 200, > openapi => $old_holds > ); >- } >- catch { >+ } catch { > $c->unhandled_exception($_); > }; > } >-- >2.30.2
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 35247
:
158325
|
158326
| 158327