]> git.koha-community.org Git - koha.git/commit
Bug 38128: (Bug 35329 follow-up) Filter ERM users to users with erm permission
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 9 Oct 2024 07:29:47 +0000 (09:29 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 29 Oct 2024 07:46:52 +0000 (08:46 +0100)
commit0627c092c2aea76fd03f784185d17e93f4f1ba41
tree444f89914e6519a20594cf1c59a9fd8b0b45dd8c
parent21210b912769616d11b0048805bfe4908120421a
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>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/erm/erm.tt