Bugzilla – Attachment 172557 Details for
Bug 38129
Add note regarding permissions in suggestion manager search pop-up modal
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38129: Display note regarding permissions in suggestion manager search pop-up modal
Bug-38129-Display-note-regarding-permissions-in-su.patch (text/plain), 2.97 KB, created by
Jonathan Druart
on 2024-10-09 07:36:37 UTC
(
hide
)
Description:
Bug 38129: Display note regarding permissions in suggestion manager search pop-up modal
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-10-09 07:36:37 UTC
Size:
2.97 KB
patch
obsolete
>From 1997e4bf7a53bd70e2da2ac9e3a89b75992dfe56 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 9 Oct 2024 09:35:27 +0200 >Subject: [PATCH] Bug 38129: Display note regarding permissions in suggestion > manager search pop-up modal > >1. In the staff interface, go to More > Suggestions > New purchase suggestion >2. Click 'Select manager' >=> With this patch you see a note regarding permissions >3. Search for 'alford' (for example) >=> User is not returned, they do not have the suggestion permission >--- > .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index e342ee6cf08..c8b2841a0d9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -1536,13 +1536,15 @@ > [% IF op == 'save' %] > [% PROCESS patron_search_modal columns => columns, modal_title => t("Select suggester"), patron_search_modal_id => 'patron_search_modal_suggester', table_id => 'patron_search_modal_suggester_table' %] > [% PROCESS patron_search_js columns => columns, actions => ["select"], preview_on_name_click => 1, table_id => 'patron_search_modal_suggester_table', callback => 'select_suggester' %] >+ [% SET filter = "suggestions_managers" %] > [% PROCESS patron_search_modal columns => columns, modal_title => t("Select manager"), patron_search_modal_id => 'patron_search_modal_manager', table_id => 'patron_search_modal_manager_table' %] >- [% PROCESS patron_search_js columns => columns, filter => 'suggestions_managers', actions => ["select"], preview_on_name_click => 1, table_id => 'patron_search_modal_manager_table', callback => 'select_manager' %] >+ [% PROCESS patron_search_js columns => columns, actions => ["select"], preview_on_name_click => 1, table_id => 'patron_search_modal_manager_table', callback => 'select_manager' %] > [% ELSIF op == 'else' %] > [% FOREACH suggestion IN suggestions %] > <script>tab = [% loop.count | html %];</script> >+ [% SET filter = "suggestions_managers" %] > [% PROCESS patron_search_modal columns => columns, modal_title => t("Select manager"), patron_search_modal_id => 'patron_search_modal_manager_' _ loop.count, table_id => 'patron_search_modal_manager_table_' _ loop.count %] >- [% PROCESS patron_search_js columns => columns, filter => 'suggestions_managers', actions => ["select"], preview_on_name_click => 1, table_id => 'patron_search_modal_manager_table_' _ loop.count, callback => 'select_manager' %] >+ [% PROCESS patron_search_js columns => columns, actions => ["select"], preview_on_name_click => 1, table_id => 'patron_search_modal_manager_table_' _ loop.count, callback => 'select_manager' %] > [% END %] > [% END %] > >-- >2.34.1
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 38129
:
172557
|
172571
|
172665