From d4c666cf84cd81932bd3b0e5909ba9da83198ebf 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 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. Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart Amended patch: Replace tab with 4 spaces Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/modules/tags/list.tt | 4 +- .../intranet-tmpl/prog/en/modules/tags/review.tt | 116 ++++++++++++-------- tags/review.pl | 3 - 3 files changed, 71 insertions(+), 52 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' %]