From 771de35a2b297cc5058f83ed3e19e34927f95c36 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 5 Oct 2017 13:15:43 -0300 Subject: [PATCH] Bug 9573: Lost items report - Move filters code to a separate js file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit For the next patches we will need to reuse what is already done on the bibliographic record detail page. This patch moves the code to make it reusable easily and avoid copy and paste. Signed-off-by: Katrin Fischer Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../prog/en/includes/columns_settings.inc | 23 +++++- .../prog/en/modules/catalogue/detail.tt | 76 ++----------------- .../intranet-tmpl/prog/js/table_filters.js | 50 ++++++++++++ 3 files changed, 78 insertions(+), 71 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/js/table_filters.js diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc index b065a35524..5d674bc0c1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc @@ -1,7 +1,7 @@ [% USE ColumnsSettings %] [% INCLUDE 'browser-strings.inc' %] + [% INCLUDE 'columns_settings.inc' %] +