Bug 14404: Checkouts default sort order for Self Checkout (SCO) confusing for patrons
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 16 Jun 2015 23:05:10 +0000 (19:05 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 4 Aug 2015 21:15:48 +0000 (09:15 +1200)
commitcb69ce69c8facfdf979477a5d803660e90954c33
treee15fcac0d3118b1718b07e23c49349bb6ba4bed1
parentb0cf008cf2cdc18e5622b21efa89a29d02ba4a28
Bug 14404: Checkouts default sort order for Self Checkout (SCO) confusing for patrons

Libraries are reporting that patrons are very confused during
self-checkout. The problem is they are expecting the list of checkouts
to be in the order they checked out the items ( first checkout on the
bottom, last item checked out on top ). However, the checkouts
table is sorted by title ( ascending ) then due date ( descending ).
This is not intuitive.

Test Plan:
1) Enable Koha's self checkout
2) Use the SCO to check out a random assortment of items,
   make sure you don't check them out in alphabetical order
3) Note the order of the items in the list is not based on the order
   you checked them out in
4) Apply this patch
5) Refresh the page
6) Note the items are now in the order you checked them out
   with the last on top and the first on bottom

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit e9061028c1ba95b310be5e9333b224e735e64f40)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt