Bugzilla – Attachment 134638 Details for
Bug 29616
Replace library information popup in the OPAC with a modal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29616: (QA follow-up) Use /public endpoints on OPAC
Bug-29616-QA-follow-up-Use-public-endpoints-on-OPA.patch (text/plain), 1.21 KB, created by
Martin Renvoize (ashimema)
on 2022-05-05 12:12:58 UTC
(
hide
)
Description:
Bug 29616: (QA follow-up) Use /public endpoints on OPAC
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-05-05 12:12:58 UTC
Size:
1.21 KB
patch
obsolete
>From 50a64682cdccc6036b492a3787f5f5ba2f36d7bc Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 5 May 2022 13:11:32 +0100 >Subject: [PATCH] Bug 29616: (QA follow-up) Use /public endpoints on OPAC > >This patch updates the new modal to use the /public version of the >libraries endpoint for fetching library data. This ensure the feature >works as expected prior to patron login. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index f6dc6014a2..f4fd827fa0 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -1934,7 +1934,7 @@ > var branchcode = $(this).data("branchcode"); > var url = $(this).attr("href"); > $.ajax({ >- url: "/api/v1/libraries/" + branchcode, >+ url: "/api/v1/public/libraries/" + branchcode, > type: 'GET', > dataType: 'json', > success: function(result) { >-- >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 29616
:
128138
|
128139
|
129096
|
129195
|
129978
| 134638