Bug 31163

Summary: Sort cashup history so that newest entries are first
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Fines and feesAssignee: Martin Renvoize <martin.renvoize>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: arthur.suzuki, lucas, martin.renvoize, victor
Version: Main   
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:
22.11.00, 22.05.05, 21.11.12
Attachments: Bug 31163: Sort cashups newest to oldest
Bug 31163: Sort cashups newest to oldest

Description Katrin Fischer 2022-07-15 13:35:20 UTC
When looking at the cashup history table, it would be helpful if the newest entries showed up first. Currently it sorts the oldest entries first.
Comment 1 Martin Renvoize 2022-07-15 13:56:08 UTC
Ha.. I spotted this the other day and totally forgot to report it.. thanks Katrin :)
Comment 2 Martin Renvoize 2022-07-15 13:59:36 UTC
Created attachment 137759 [details] [review]
Bug 31163: Sort cashups newest to oldest

The cashup history table was sorting from oldest to newest.. it's
perferable to show the most recent at the top by default.
Comment 3 Katrin Fischer 2022-07-15 15:09:23 UTC
Created attachment 137771 [details] [review]
Bug 31163: Sort cashups newest to oldest

The cashup history table was sorting from oldest to newest.. it's
perferable to show the most recent at the top by default.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Comment 4 Katrin Fischer 2022-07-15 15:10:13 UTC
This is an obvious and tiny patch, going straight to PQA.
Comment 5 Tomás Cohen Arazi 2022-07-18 18:16:37 UTC
Pushed to master for 22.11.

Nice work everyone, thanks!
Comment 6 Lucas Gass 2022-08-23 19:31:49 UTC
Backported to 22.05.x for 22.05.05
Comment 7 Arthur Suzuki 2022-08-30 09:25:20 UTC
thx pushed to 21.11.x for 21.11.12
Comment 8 Victor Grousset/tuxayo 2022-09-14 19:18:13 UTC
Not backported to oldoldstable (21.05.x). Feel free to ask if it's needed.

Nothing to document, marking resolved.