From 0aa40b033add74debce60e18462d977f617435bd 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 --- .../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 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' %] +