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@lists.koha-community.org
          Reporter: martin.renvo...@ptfs-europe.com
        QA Contact: testo...@bugs.koha-community.org
                CC: gmcha...@gmail.com, kyle.m.h...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to