From 18fc21b2ed106f7d06f1acb1a35a88f512b93107 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 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 --- .../prog/en/modules/labels/label-edit-batch.tt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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.2.5