Bugzilla – Attachment 164930 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), 946 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2024-04-16 12:59:20 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-16 12:59:20 UTC
Size:
946 bytes
patch
obsolete
>From 11671eb70dd3841b11981cba8507bc055c749c50 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> >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.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 492a3495c37..db0cb3011de 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