Bugzilla – Attachment 164230 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), 839 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2024-04-01 21:11:26 UTC
(
hide
)
Description:
Bug 36482: Make embedding work for GET /libraries/:library_id
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-04-01 21:11:26 UTC
Size:
839 bytes
patch
obsolete
>From d44a575c0f22bcb2e9df9787e5d457db851f4f0e 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> >--- > 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 33c50d3559d..760648ccb18 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.44.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 36482
:
164229
|
164230
|
164304
|
164305
|
164416
|
164417
|
164418
|
164929
|
164930
|
164931