Bug 15583

Summary: List of lists in the staff client should have a default sort
Product: Koha Reporter: Owen Leonard <oleonard>
Component: ListsAssignee: Chloe Alabaster <chloealabaster>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: brendan, chloealabaster, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 15583 - List of lists in the staff client should have a default sort
[SIGNED-OFF] Bug 15583 - List of lists in the staff client should have a default sort
Bug 15583 - List of lists in the staff client should have a default sort

Description Owen Leonard 2016-01-15 13:30:55 UTC
The list of lists in the staff client seems to default to a sort by shelfnumber. While it may make sense to sort lists by creation date, I think in that case the DataTable should be configured to explicitly sort by creation date rather than have there be no visible sense to the default sort.
Comment 1 Chloe Alabaster 2016-01-20 23:19:56 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2016-01-21 15:24:03 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2016-01-22 09:24:10 UTC
Created attachment 47163 [details] [review]
Bug 15583 - List of lists in the staff client should have a default sort

To Test:

1- first make sure you have lists from different dates,
   -- if you dont you can go to databases and change the created_on date
   (by changing the date on the database you can also ensure that the
    shelfnumber doesn't align with the creation date, replicating the
   bug being fixed.)
2- after making lists apply patch and refresh page, the lists should be
   sorted by creation date by default instead of by the "shelfnumber"

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 4 Brendan Gallagher 2016-01-27 05:34:45 UTC
Pushed to Master - Should be in the May 2016 release. Thanks!