From 793e2099cdc42d44fcc2dd367c8f2fb6297ea50b Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 29 Oct 2014 13:03:50 -0400 Subject: [PATCH] [Signed-off] Bug 13162 - Label batch editor title sorting by default, rather then label number MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The label batches editor has always sorted by the order the items were added to a batch. However, it is now sorting by title. This should be remedied. Test Plan: 1) Create a label batch 2) Note the items are in order of title ( summary ) 3) Apply this patch 4) Refresh the page, not the items are now sorted by label number Tiny patch. Works as expected. Signed-off-by: Marc VĂ©ron --- koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6666537..f9f7b55 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 @@ -129,7 +129,7 @@ { "sType": "anti-the", "aTargets" : [ "anti-the" ] }, { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false } ], - "aaSorting": [[ 1, "asc" ]], + "aaSorting": [[ 0, "asc" ]], "sPaginationType": "four_button" })); $("#additems").click(function(){ -- 1.7.10.4