Bug 3134: (follow-up) improve ID and peport name sorting on saved reports page
The sort for ID is alpha instead of numerical, same for the report names. To test: create id=1, name=Report 1 create id=2, name=Report 2 create id=10, name=Report 10 create id=11, name=Report 11 Sorting by id: without this patch 1, 10, 11, 2 with this patch: 1, 2, 10, 11 Sorting by name: without this patch: Report 1, Report 10, Report 11, Report 2 with this patch: Report 1, Report 2, Report 10, Report 11 Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
fb2bcc05c1
commit
edf5467469
|
|
@ -73,7 +73,8 @@ $(document).ready(function(){
|
|||
'aaSorting': [[ 1, "asc" ]],
|
||||
'aoColumnDefs': [
|
||||
{ 'bSortable': false, 'bSearchable':false, 'aTargets': [0, -1, -2, -3, -4] },
|
||||
{ 'bSearchable': false, 'aTargets': [3, 4] }
|
||||
{ 'bSearchable': false, 'aTargets': [3, 4] },
|
||||
{ "aTargets": [ 1, 2 ], "sType": "natural" }
|
||||
],
|
||||
'oLanguage': {
|
||||
'sZeroRecords': _("No matching reports found")
|
||||
|
|
|
|||
Loading…
Reference in New Issue