Bug 21399

Summary: Sort patron fines in OPAC by date descending as a default
Product: Koha Reporter: Barbara Johnson <barbara.johnson>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: aleisha, martin.renvoize, nick
Version: 17.11Keywords: Academy
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:
Circulation function:
Attachments: Bug 21399: Sort patron fines in OPAC by date descending as a default
Bug 21399: Sort patron fines in OPAC by date descending as a default
Bug 21399: Sort patron fines in OPAC by date descending as a default

Description Barbara Johnson 2018-09-22 22:55:35 UTC
It would be helpful if the patron's view of their list of fines and charges in the OPAC would display sorted by date descending as a default.
Comment 1 Owen Leonard 2018-11-27 19:29:30 UTC
Created attachment 82683 [details] [review]
Bug 21399: Sort patron fines in OPAC by date descending as a default

This patch modifies the DataTables configuration of the logged-in user's
"Fines and charges" table in the OPAC so that the table is sorted by
date, descending.

To test, apply the patch and log in to the OPAC as a user with multiple
fines. Go to the "your fines" page and confirm that the table is sorted
by default on the first column with the newest entries first.
Comment 2 Devinim 2018-12-21 15:33:12 UTC
Created attachment 83466 [details] [review]
Bug 21399: Sort patron fines in OPAC by date descending as a default

This patch modifies the DataTables configuration of the logged-in user's
"Fines and charges" table in the OPAC so that the table is sorted by
date, descending.

To test, apply the patch and log in to the OPAC as a user with multiple
fines. Go to the "your fines" page and confirm that the table is sorted
by default on the first column with the newest entries first.

Signed-off-by: Devinim <kohadevinim@devinim.com.tr>
Comment 3 Katrin Fischer 2019-01-13 20:15:25 UTC
Created attachment 83849 [details] [review]
Bug 21399: Sort patron fines in OPAC by date descending as a default

This patch modifies the DataTables configuration of the logged-in user's
"Fines and charges" table in the OPAC so that the table is sorted by
date, descending.

To test, apply the patch and log in to the OPAC as a user with multiple
fines. Go to the "your fines" page and confirm that the table is sorted
by default on the first column with the newest entries first.

Signed-off-by: Nazlı Çetin <nazli@devinim.com.tr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Nick Clemens (kidclamp) 2019-01-28 14:13:44 UTC
Awesome work all!

Pushed to master for 19.05
Comment 5 Martin Renvoize (ashimema) 2019-02-01 12:39:51 UTC
Enhancement, will not be backported to 18.11.x series.