Bug 38778 - Allow for custom sort order in holdshistory table
Summary: Allow for custom sort order in holdshistory table
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Lucas Gass (lukeg)
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-23 18:14 UTC by Lucas Gass (lukeg)
Modified: 2025-06-29 20:02 UTC (History)
6 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
This enhancement adds the "Default sort order" option to the patron's holds history table in the staff interface. (Set at Koha administration > Additional parameters > Table settings > Patrons > holdshistory.)
Version(s) released in:
Circulation function:


Attachments
Bug 38778: Add default_sort_order to holdshistory table (1.64 KB, patch)
2024-12-23 18:17 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 38778: Add default_sort_order to holdshistory table (1.70 KB, patch)
2025-01-09 20:25 UTC, ByWater Sandboxes
Details | Diff | Splinter Review
Bug 38778: Add default_sort_order to holdshistory table (1.33 KB, patch)
2025-06-27 17:12 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 38778: Add default_sort_order to holdshistory table (1.38 KB, patch)
2025-06-29 19:56 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2024-12-23 18:14:33 UTC
Holds history defaults to a sort of 'Library', some would find to useful to have a different sort order for this table.
Comment 1 Lucas Gass (lukeg) 2024-12-23 18:17:42 UTC
Created attachment 175914 [details] [review]
Bug 38778: Add default_sort_order to holdshistory table

To test:
1. APPLY PATCH, restart_all
2. If you are saving the configuration state you need to clear cookies/cache
3. To go Table settings, find the holdshistory table
4. Try applying some different "Default sort order:"
5. Find a patron with a holds history and make sure the default sort order is working
Comment 2 ByWater Sandboxes 2025-01-09 20:25:07 UTC
Created attachment 176303 [details] [review]
Bug 38778: Add default_sort_order to holdshistory table

To test:
1. APPLY PATCH, restart_all
2. If you are saving the configuration state you need to clear cookies/cache
3. To go Table settings, find the holdshistory table
4. Try applying some different "Default sort order:"
5. Find a patron with a holds history and make sure the default sort order is working

Signed-off-by: William Lavoie <william.lavoie@inLibro.com>
Comment 3 Lucas Gass (lukeg) 2025-06-27 17:12:52 UTC
Created attachment 183616 [details] [review]
Bug 38778: Add default_sort_order to holdshistory table

To test:
1. APPLY PATCH, restart_all
2. If you are saving the configuration state you need to clear cookies/cache
3. To go Table settings, find the holdshistory table
4. Try applying some different "Default sort order:"
5. Find a patron with a holds history and make sure the default sort order is working

NOTE: If "Save configuration state on page change:" is on for this table you might want to turn it off for testing this bug.
Comment 4 David Nind 2025-06-29 19:56:40 UTC
Created attachment 183634 [details] [review]
Bug 38778: Add default_sort_order to holdshistory table

To test:
1. APPLY PATCH, restart_all
2. If you are saving the configuration state you need to clear cookies/cache
3. To go Table settings, find the holdshistory table
4. Try applying some different "Default sort order:"
5. Find a patron with a holds history and make sure the default sort order is working

NOTE: If "Save configuration state on page change:" is on for this table you might want to turn it off for testing this bug.
Signed-off-by: David Nind <david@davidnind.com>