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

Tiny patch. Works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes tests, works as described.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Kyle Hall 2014-10-29 13:03:50 -04:00 committed by Tomas Cohen Arazi
parent 7641b8c31b
commit 21ad25c1aa

View file

@ -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(){