Bug 38107

Summary: Allow custom sort order of patron_holds_table
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: Hold requestsAssignee: Lucas Gass (lukeg) <lucas>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: david, gmcharlt, jonathan.druart
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38079
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
This enhancement lets you set the default sort order for the record holds table in the staff interface (Administration > Table settings > Circulation > holds > patron_holds_table, or from the configure option for a record's holds table).
Version(s) released in:
Circulation function:
Bug Depends on: 38069    
Bug Blocks:    
Attachments: Bug 38107: Add default sort order option to patron_holds_table
Bug 38107: Add default sort order option to patron_holds_table

Description Lucas Gass (lukeg) 2024-10-07 18:05:39 UTC
The patron_hold_table on reserve/request.pl should allow libraries to choose a Default sort order.
Comment 1 Lucas Gass (lukeg) 2024-10-07 18:09:31 UTC
Created attachment 172498 [details] [review]
Bug 38107: Add default sort order option to patron_holds_table

1. APPLY PATCH and restat_all
2. From Table settings look for the patron_holds_table
3. Put some holds on a record.
4. Play with different sort orders, ensuring they work.

Note: Depends on Bug 38069
Comment 2 David Nind 2024-10-08 00:36:16 UTC
Created attachment 172505 [details] [review]
Bug 38107: Add default sort order option to patron_holds_table

1. APPLY PATCH and restat_all
2. From Table settings look for the patron_holds_table
3. Put some holds on a record.
4. Play with different sort orders, ensuring they work.

Note: Depends on Bug 38069
Signed-off-by: David Nind <david@davidnind.com>
Comment 3 David Nind 2024-10-08 00:47:44 UTC
Testing notes (using KTD):

1. Access from Administration > Additional parameters > Table settings > Circulation (Circulation tables) > holds > patron_holds_table
    OR
   from a record in the staff interface > Holds > Existing holds > Configure option
Comment 4 Jonathan Druart 2024-10-08 07:07:20 UTC
For those patches ("Allow custom sort order") one thing to test is that the order is the same before and after the patch.
Comment 5 Jonathan Druart 2024-10-08 13:53:44 UTC
On bug 38079 Nick is suggesting a "default", which we could use for all tables.