From d3ac02b7bd29d180979a8174e60e91506cc0b231 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 5 Dec 2013 15:53:23 +0000 Subject: [PATCH] Bug 11111: (follow-up) fix column sorting on parcels page This patch fixes issues with the column sorting on the pending orders and already received tables introduced by the main patch. To test: [1] Verify that the sort widgets on the appropriate columns of each table work correctly. Signed-off-by: Galen Charlton --- .../intranet-tmpl/prog/en/modules/acqui/parcel.tt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index b066450e92..9d5fae98a9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -19,11 +19,11 @@ "iCookieDuration": 60*60*24*1000, // 1000 days "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], "aoColumnDefs": [ - { "aTargets": [ 3, 8, 9 ], "bSortable": false, "bSearchable": false }, + { "aTargets": [ 4, 9, 10 ], "bSortable": false, "bSearchable": false }, ], "aoColumns": [ - { "sType": "num-html" }, - { "sType": "num-html" }, + { "sType": "html" }, + { "sType": "html" }, { "sType": "num-html" }, { "sType": "html" }, null, @@ -61,13 +61,14 @@ "iCookieDuration": 60*60*24*1000, // 1000 days "aLengthMenu": [[10, 20, 50, 100, -1], [10, 20, 50, 100, "All"]], "aoColumnDefs": [ - { "aTargets": [ 4, -1 ], "bSortable": false, "bSearchable": false }, + { "aTargets": [ 5, -1 ], "bSortable": false, "bSearchable": false }, ], "aoColumns": [ - { "sType": "num-html" }, - { "sType": "num-html" }, { "sType": "html" }, { "sType": "html" }, + { "sType": "html" }, + { "sType": "num-html" }, + null, null, null, null, -- 2.39.5