Bug 31163 - Sort cashup history so that newest entries are first
Summary: Sort cashup history so that newest entries are first
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Fines and fees (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Martin Renvoize
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-15 13:35 UTC by Katrin Fischer
Modified: 2023-06-08 22:26 UTC (History)
4 users (show)

See Also:
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 (1011 bytes, patch)
2022-07-15 13:59 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 31163: Sort cashups newest to oldest (1.04 KB, patch)
2022-07-15 15:09 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.