Bugzilla – Attachment 168392 Details for
Bug 37144
Add a subpermission for hiding patron contact information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37144: Pass permission variable to the patron autocomplete
Bug-37144-Pass-permission-variable-to-the-patron-a.patch (text/plain), 1.33 KB, created by
Laura Escamilla
on 2024-07-02 16:51:21 UTC
(
hide
)
Description:
Bug 37144: Pass permission variable to the patron autocomplete
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2024-07-02 16:51:21 UTC
Size:
1.33 KB
patch
obsolete
>From 57e47fce0fed8dc26d7b3d77b6182804c4132359 Mon Sep 17 00:00:00 2001 >From: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >Date: Tue, 2 Jul 2024 15:43:39 +0000 >Subject: [PATCH] Bug 37144: Pass permission variable to the patron > autocomplete > >--- > koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >index ceaf8b8d57..59e2ebafaf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >@@ -695,12 +695,13 @@ function patron_autocomplete(node, options) { > __("years") + > ")</span>," > : "") + >- " " + >- $format_address(item, { >+ " "+ >+ (ViewContactInformation ? >+ $format_address(item, { > no_line_break: true, > include_li: false, >- }) + >- " " + >+ }) : "") + >+ " " + > (!singleBranchMode > ? '<span class="ac-library">' + > item.library.name.escapeHtml() + >-- >2.39.2
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 37144
:
168282
|
168283
|
168284
|
168387
|
168388
|
168389
|
168390
|
168391
|
168392
|
168393
|
168394
|
168460
|
168463
|
169320
|
169321
|
169322
|
169323
|
169324
|
169325
|
169326
|
169327
|
169328
|
169329
|
169330
|
169331
|
169332
|
169333
|
169334