Bugzilla – Attachment 164305 Details for
Bug 36482
Make it possible to embed desks and cash_registers on /libraries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36482: Make embedding work for GET /libraries/:library_id
Bug-36482-Make-embedding-work-for-GET-librarieslib.patch (text/plain), 885 bytes, created by
David Nind
on 2024-04-03 06:31:15 UTC
(
hide
)
Description:
Bug 36482: Make embedding work for GET /libraries/:library_id
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-04-03 06:31:15 UTC
Size:
885 bytes
patch
obsolete
>From 9e464e8da35547e4e1a3ff9203c2dff35020831e Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 1 Apr 2024 18:08:46 -0300 >Subject: [PATCH] Bug 36482: Make embedding work for GET /libraries/:library_id > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: David Nind <david@davidnind.com> >--- > Koha/REST/V1/Libraries.pm | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > >diff --git a/Koha/REST/V1/Libraries.pm b/Koha/REST/V1/Libraries.pm >index 33c50d3559..760648ccb1 100644 >--- a/Koha/REST/V1/Libraries.pm >+++ b/Koha/REST/V1/Libraries.pm >@@ -73,10 +73,9 @@ sub get { > > return $c->render( > status => 200, >- openapi => $library->to_api >+ openapi => $c->objects->to_api($library), > ); >- } >- 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 36482
:
164229
|
164230
|
164304
|
164305
|
164416
|
164417
|
164418
|
164929
|
164930
|
164931