Bugzilla – Attachment 173510 Details for
Bug 38128
Agreement/license user selection not limited to users with ERM module permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38128: (Bug 35329 follow-up) Filter ERM users to users with erm permission
Bug-38128-Bug-35329-follow-up-Filter-ERM-users-to-.patch (text/plain), 1.62 KB, created by
Martin Renvoize (ashimema)
on 2024-10-28 11:02:08 UTC
(
hide
)
Description:
Bug 38128: (Bug 35329 follow-up) Filter ERM users to users with erm permission
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-10-28 11:02:08 UTC
Size:
1.62 KB
patch
obsolete
>From 0eb4773319a3dce2cb3fd759e62a515c27615963 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 9 Oct 2024 09:29:47 +0200 >Subject: [PATCH] Bug 38128: (Bug 35329 follow-up) Filter ERM users to users > with erm permission > >There was a silly mistake, we passed the TT var erm_users instead of the >string "erm_users". >It should also be passed to patron_search_modal to display the note. > >Test plan: >Confirm that with this patch a patron search in the ERM module returns >only patrons with the erm permission. > >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt >index 76746b5cd8b..768c8e8596e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt >@@ -51,8 +51,9 @@ > [% Asset.js("js/vue/dist/erm.js") | $raw %] > [% INCLUDE 'select2.inc' %] > [% SET columns = ['cardnumber','name','category','branch','action'] %] >+ [% SET filter = "erm_users" %] > [% PROCESS patron_search_modal columns => columns, modal_title => t("Select user") %] >- [% PROCESS patron_search_js columns => columns, filter => erm_users, actions => ["select"], preview_on_name_click => 1 %] >+ [% PROCESS patron_search_js columns => columns, actions => ["select"], preview_on_name_click => 1 %] > > [% END %] > [% INCLUDE 'intranet-bottom.inc' %] >-- >2.47.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 38128
:
172556
|
172558
| 173510 |
174111