From cea9a24f02d0caa3866d04ae799b15590622eed6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 12 Aug 2013 12:31:52 -0400 Subject: [PATCH] Bug 10730 - Use DataTables on the tag review page Content-Type: text/plain; charset="utf-8" This patch enhances the tags review page in the staff client by adding DataTables sorting to the table of tags. It also converts the tag list page (list.tt) to use the new DataTables include introduced by Bug 10649. To test, apply the patch and view the tags review page for various categories: Pending, approved, rejected, all. The table should be sortable by status, term, weight, and date. Sorting by date should work correctly regardless of date format preference. Title sorting on the tag list page should work correctly. --- .../intranet-tmpl/prog/en/modules/tags/list.tt | 4 +- .../intranet-tmpl/prog/en/modules/tags/review.tt | 108 ++++++++++++-------- tags/review.pl | 3 - 3 files changed, 67 insertions(+), 48 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt index 3e49787..5749ceb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt @@ -2,9 +2,7 @@ Koha › Tools › Tags › [% IF ( do_it ) %]Review › [% ELSE %]Review tags[% END %] [% INCLUDE 'doc-head-close.inc' %] - -[% INCLUDE 'datatables-strings.inc' %] - +[% INCLUDE 'datatables.inc' %]