From e6a1d015c719365cbd1da7e583cc17b9d97ff5b9 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Mar 2015 13:09:06 +0100 Subject: [PATCH] Bug 13866: Columns configuration - Patrons search This patch adds the ability to hide columns on the patrons search page (acqui/lateorders.pl). Test plan: Go on the patrons search page and confirm you are able to hide columns. You can also play with the columns configuration admin page and confirm that the behaviors are consistent. --- admin/columns_settings.yml | 25 ++++++++++++++++++++++ .../prog/en/modules/members/member.tt | 7 ++++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 0a1f667..72a5093 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -82,3 +82,28 @@ modules: columnname: active - columnname: actions + member: + member: + memberresulst: + - + columname: checkbox + cannot_be_toggled: 1 + cannot_be_modified: 1 + - + columname: cardnumber + - + columname: name + - + columname: category + - + columname: library + - + columname: expires_on + - + columname: od_checkouts + - + columname: fines + - + columname: circ_notes + - + columname: actions 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 ea90bfd..d16b4d6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt @@ -1,9 +1,11 @@ [% USE Koha %] +[% USE ColumnsSettings %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons [% IF ( searching ) %]› Search results[% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] +[% INCLUDE 'columns_settings.inc' %]