[Koha-bugs] [Bug 24533] New: Improved sorting in checkouts table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 29 17:22:53 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24533

            Bug ID: 24533
           Summary: Improved sorting in checkouts table
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

The sorting in the checkouts table regressed with bug 23493.

Before the patch:

* Initial table load would group the results by "Today's checkouts" and
"Previous checkouts".
* Any subsequent column sort would disable the grouping entirely.

After the patch:

* Initial table load groups the results by "Today's checkouts" and "Previous
checkouts".
* Any subsequent column sort will sort by that column, but leave the group
titles intact. As such, sorting by title for example can end up with multiple
"Today's checkouts" header rows which is confusing.

I propose that for all column sorts, with the exception of due date, we perform
a primary sort on the grouping field followed by a secondary sort on the column
in question.  This way we maintain the grouping and just sort within the
groups.

For the due date column sort I propose sorting directly on due date and
removing the grouping header rows entirely.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list