Bugzilla – Attachment 92917 Details for
Bug 23623
Use the new API and remove /svc scripts for privacy settings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23623: (follow-up) Add missing filters
Bug-23623-follow-up-Add-missing-filters.patch (text/plain), 2.00 KB, created by
Josef Moravec
on 2019-09-17 19:04:20 UTC
(
hide
)
Description:
Bug 23623: (follow-up) Add missing filters
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2019-09-17 19:04:20 UTC
Size:
2.00 KB
patch
obsolete
>From c28bf0790dd3c577483380d80ac5b8b8be45e2d6 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Tue, 17 Sep 2019 19:03:14 +0000 >Subject: [PATCH] Bug 23623: (follow-up) Add missing filters > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >index d49baed32c..cc96be9d04 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -1053,7 +1053,7 @@ > $('#update_privacy_guarantor_checkouts').click( function() { > var can_see_checkouts = $('#privacy_guarantor_checkouts').val() == 1; > $.ajax({ >- url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber %]/guarantors/can_see_checkouts", >+ url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber | uri %]/guarantors/can_see_checkouts", > type: "PUT", > data: JSON.stringify({ allowed: can_see_checkouts }), > contentType: "application/json", >@@ -1071,7 +1071,7 @@ > $('#update_privacy_guarantor_fines').click( function() { > var can_see_charges = $('#privacy_guarantor_fines').val() == 1; > $.ajax({ >- url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber %]/guarantors/can_see_charges", >+ url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber | uri %]/guarantors/can_see_charges", > type: 'PUT', > data: JSON.stringify({ allowed: can_see_charges }), > contentType: 'application/json', >-- >2.11.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 23623
:
92842
|
92843
|
92914
|
92915
|
92916
|
92917
|
93001
|
93002
|
93003
|
93004