From 8faf97ee36c5b1e3876306c96bdb3f57b2ff3291 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 29 Mar 2022 10:28:43 +0200 Subject: [PATCH] Bug 30063: Fix table settings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Séverine Queune Signed-off-by: Martin Renvoize Signed-off-by: Fridolin Somers --- .../prog/en/modules/members/member.tt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt index e57e6334f5..eded5ad1ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -245,12 +245,6 @@ $("#patron_search_form").on('submit', function(){$("#searchheader").show();}); $("#clear_search").on("click",function(e){$("#searchheader").hide();}); - // Apply DataTables on the results table - var table_settings = [% TablesSettings.GetColumns( 'members', 'member', 'memberresultst', 'json' ) | $raw %]; - [% UNLESS CAN_user_borrowers_edit_borrowers OR CAN_user_tools_manage_patron_lists %] - [%# Remove the first column if we do not display the checkbox %] - table_settings.splice(0, 1); - [% END %] }); function patronListAdd(){ @@ -295,6 +289,15 @@ + + [% IF circsearch == 1 %] [% SET redirect_url = '/cgi-bin/koha/circ/circulation.pl' %] [% ELSE %] -- 2.39.5