From bbf8f9b9648b2dce4c66b688015de13bce198a58 Mon Sep 17 00:00:00 2001
From: Kyle M Hall
Date: Fri, 25 Jan 2013 09:57:30 -0500
Subject: [PATCH] Bug 9456 - Add callnumber column to the cart
This patch adds call-number sorting to the staff client cart. Sortining is enabled
on the 'Items' column which uses a custom sorting routine to sort the callnumbers.
If the sort is ascending, each column will be sorted by the highest ordered
callnumber for that row. Likewise, if the sort is descending the table will be
sorted by the lowest valued callnumber for that row.
---
.../intranet-tmpl/prog/en/css/staff-global.css | 10 ++-
.../intranet-tmpl/prog/en/modules/basket/basket.tt | 105 ++++++++++++++++----
2 files changed, 94 insertions(+), 21 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
index 0fa93ab..89c5e25 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
@@ -2579,6 +2579,14 @@ fieldset.rows table.mceListBox {
box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, .5);
}
+.inline {
+ display : inline;
+}
+
+.nowrap {
+ white-space: nowrap;
+}
+
.tag_editor {
background: transparent url("../../img/edit-tag.png") top left no-repeat;
display : block;
@@ -2589,4 +2597,4 @@ fieldset.rows table.mceListBox {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
-}
\ No newline at end of file
+}
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 cb1f573..90269db 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' %]
+
@@ -279,23 +347,19 @@ function placeHold () {
| Place hold
[% END %]
-
[% END %]
+
--
1.7.2.5