From 36a2b50b018092c7526e24e63ef412138a1dcc8c 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=UTF-8 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 --- .../prog/en/includes/columns_settings.inc | 23 ++++++- .../prog/en/modules/catalogue/detail.tt | 76 ++-------------------- koha-tmpl/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 b065a35..5d674bc 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' %] +