From 21ad25c1aa29d00af06d488bea25ca7a165d7f26 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 29 Oct 2014 13:03:50 -0400 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Passes tests, works as described. Signed-off-by: Tomas Cohen Arazi --- .../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 666653771d..f9f7b55743 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(){