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