From e271e6292b2b1b7c9103dbe7fce9997a7dc3996a Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Wed, 23 May 2018 15:40:23 +0200 Subject: [PATCH] Bug 20810: Add filters and links in basketgroups page - Open/Closed filtering - Per-column filtering - Add links to basketgroups and booksellers - Display basketgroup id next to basketgroup name Test plan: 1. Go to basketgroups page (/acqui/basketgroups.pl) 2. Verify that the "Open/Closed/All" buttons work correctly by showing respectively only open basketgroups, only closed basketgroups, and all basketgroups. The "date closed" column should be hidden when only open basketgroups are shown. A hidden "Closed" column containing only "1" or "0" was added for these buttons to work correctly. Verify that you do not see it. 3. Verify that the column filters are displayed under the column headers and that they filter using only the data in their respective column. Verify that there is no filter for "Action" column. 4. Verify that the bookseller names are now links to the bookseller pages 5. Verify that basketgroup names are now links to the basketgroup pages 6. Verify that basketgroup id is displayed in the 'Name' column, next to the basketgroup name --- .../prog/en/modules/acqui/basketgroups.tt | 93 +++++++++++++++++++--- 1 file changed, 84 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroups.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroups.tt index e9258a9f23..fee34d7267 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroups.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroups.tt @@ -12,16 +12,16 @@ [% Asset.css('css/datatables.css') %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] - [% Asset.js('lib/jquery/plugins/jquery.dataTables.columnFilter.js') %]