From e51a5b3470b58afbea284aa500b5366b0575369e 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 | 8 ++
.../intranet-tmpl/prog/en/modules/basket/basket.tt | 105 ++++++++++++++++----
2 files changed, 93 insertions(+), 20 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 8f99a11..159e0f2 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
@@ -2578,3 +2578,11 @@ fieldset.rows table.mceListBox {
#selections span { margin:3px;padding:3px;background-color:#EBF3FF;-moz-border-radius:5px;border-radius:5px;white-space:nowrap;line-height:240%;font-size:75%; }
#selections span.selected { background-color : #CCE0FC; }
#selections input { vertical-align:middle;margin:0 2px; }
+
+.inline {
+ display : inline;
+}
+
+.nowrap {
+ white-space: nowrap;
+}
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