From 4aa971a25b6842027d611de50e20f0b264dc1824 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 25 Jan 2013 09:57:30 -0500 Subject: [PATCH] Bug 9456 [Alternate] Add callnumber column to the cart Content-Type: text/plain; charset="utf-8" This patch adds call-number sorting to the staff client cart on a title-by-title basis. Item information (library, shelving location, and call number) is moved to a table nested in each row. Location and call number columns in this table are sortable. The patch converts table sorting to DataTables (in a race with Bug 9449). The patch does not attempt to make the larger table of titles sortable by call number. To test, add multiple titles to the staff client cart which have multiple items each. The table of titles should still be sortable by title and item type. The table of items in each row should be sortable by location and call number. --- .../intranet-tmpl/prog/en/modules/basket/basket.tt | 81 +++++++++++++++----- 1 file changed, 63 insertions(+), 18 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt index 9989194..85bfa20 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt @@ -9,9 +9,35 @@ @import url([% themelang %]/css/print.css); [% ELSE %][% INCLUDE 'doc-head-close.inc' %] + - - +[% INCLUDE 'datatables-strings.inc' %] +