Bugzilla – Attachment 40249 Details for
Bug 14404
Checkouts default sort order for Self Checkout (SCO) confusing for patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14404 - Checkouts default sort order for Self Checkout (SCO) confusing for patrons
Bug-14404---Checkouts-default-sort-order-for-Self-.patch (text/plain), 3.90 KB, created by
Mark Tompsett
on 2015-06-17 23:03:39 UTC
(
hide
)
Description:
Bug 14404 - Checkouts default sort order for Self Checkout (SCO) confusing for patrons
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2015-06-17 23:03:39 UTC
Size:
3.90 KB
patch
obsolete
>From 5e53952b558b557e766548aa64c529526a8f8a5f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 16 Jun 2015 19:05:10 -0400 >Subject: [PATCH] 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> >--- > .../opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 17 ++++++++++++++--- > 1 file changed, 14 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >index 8447469..934c66a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >@@ -213,11 +213,21 @@ > <caption>Checkouts for [% borrowername %] <span class="count">([% issues_count %] total)</span></caption> > <!-- ISSUES TABLE ROWS --> > <thead> >- <tr><th class="anti-the">Title</th><th>Call no.</th><th class="title-string">Due</th><th class="nosort">Renew</th>[% UNLESS ( nofines ) %]<th>Fines</th>[% END %]</tr> >+ <tr> >+ <th class="no-show">Checked out on</th> >+ <th class="anti-the">Title</th> >+ <th>Call no.</th> >+ <th class="title-string">Due</th> >+ <th class="nosort">Renew</th> >+ [% UNLESS ( nofines ) %] >+ <th>Fines</th> >+ [% END %] >+ </tr> > </thead> > <tbody> > [% FOREACH ISSUE IN ISSUES %] > <tr> >+ <td>[% ISSUE.issuedate %]</td> > <td> > [% UNLESS ( noitemlinks ) %] > <a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE. biblionumber %]">[% ISSUE.title |html %]</a> >@@ -347,9 +357,10 @@ > dofocus(); > [% IF ( patronid ) %]sco_init();[% END %] > $("#loanTable").dataTable($.extend(true, {}, dataTablesDefaults, { >- "aaSorting": [ [2, "desc"], [0, "asc"] ], >+ "aaSorting": [ 0 ], > "aoColumnDefs": [ >- { "aTargets": [ "nosort" ],"bSortable": false,"bSearchable": false }, >+ { "aTargets": [ "nosort" ], "bSortable": false, "bSearchable": false }, >+ { "aTargets": [ "no-show" ], "bVisible": false, "bSearchable": false }, > { "sType": "anti-the", "aTargets" : [ "anti-the" ] }, > { "sType": "title-string", "aTargets" : [ "title-string" ] } > ] >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14404
:
40242
|
40249
|
40832
|
40861
|
40862