From dd2606ac11668ea2d626cb5290b79a9282cbaf38 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Mar 2015 13:16:43 +0100 Subject: [PATCH] Bug 13865: Columns configuration - Orders search This patch adds the ability to hide columns on the orders search page (acqui/histsearch.pl). Test plan: Go on the orders 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. Signed-off-by: Nicole http://bugs.koha-community.org/show_bug.cgi?id=13685 --- admin/columns_settings.yml | 31 ++++++++++++++++++++ .../prog/en/modules/acqui/histsearch.tt | 7 +++-- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 5222253..197d8af 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -1,5 +1,36 @@ modules: acqui: + histsearch: + histsearcht: + - + columnname: order_line + - + columnname: status + - + columnname: basket + - + columnname: basket_creator + - + columnname: basket_group + - + columnname: invoice_number + - + columnname: summary + - + columnname: vendor + - + columnname: placed_on + - + columnname: received_on + - + columnname: quantity_received + - + columnname: pending_order + - + columnname: unit_cost + - + columnname: fund + lateorders: late_orders: - diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt index ebb9f74..77e42a4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt @@ -1,23 +1,26 @@ [% USE KohaDates %] +[% USE ColumnsSettings %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › [% IF ( order_loop ) %]Orders search › Search results[% ELSE %]Order search[% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'datatables.inc' %] +[% INCLUDE 'columns_settings.inc' %]