Bug 3134: (follow-up) improve ID and peport name sorting on saved reports page
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 21 Aug 2013 08:27:08 +0000 (10:27 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 21 Aug 2013 14:26:36 +0000 (14:26 +0000)
commitedf5467469af22c56f2cfc0fed533d19c8da1faa
tree03aea57cf1809b0fe3c509652ac91efb012b7b91
parentfb2bcc05c11fbcd3ca2a0dce1f660836d27f6f69
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>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt