From f1bbf11ee5acf6837e7a766b2bb81a9f709b6d51 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 21 Mar 2014 15:50:18 -0400 Subject: [PATCH] [PASSED QA] Bug 11946 - add table sorters to label and patron card batches When viewing batches of titles in the label creator module the table is not sortable. This patch adds table sorting. The patch also makes some corrections of invalid markup and moves informational/error messages to the top of the page rather than in a sidebar. This change lets the table and sorting controls expand into a wider space. To test, go to Tools -> Labels -> Manage label batches. View an existing batch or create a new batch and populate it with items. Table sorting controls should work correctly. Signed-off-by: Nicole C. Engard Solves 1/2 of this bug which is to add the sorters to labels, the original request was to add this to patron cards as well. Signed-off-by: Katrin Fischer Works as described, passes all tests and QA script. Template could be improved forther by showing the itemtype description instead of the code in the table. --- .../prog/en/modules/labels/label-edit-batch.tt | 113 +++++++++++---------- 1 file changed, 61 insertions(+), 52 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt index 54ff3bd..85bbb4e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt @@ -2,6 +2,8 @@ Koha › Tools › Labels › Manage label batches [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'greybox.inc' %] + + [% INCLUDE 'datatables.inc' %]