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.
This commit is contained in:
parent
79f57cf303
commit
10138c1a10
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue