Bug 38107 - Allow custom sort order of patron_holds_table
Summary: Allow custom sort order of patron_holds_table
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Hold requests (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Lucas Gass (lukeg)
QA Contact: Testopia
URL:
Keywords:
Depends on: 38069
Blocks:
  Show dependency treegraph
 
Reported: 2024-10-07 18:05 UTC by Lucas Gass (lukeg)
Modified: 2024-10-08 13:54 UTC (History)
3 users (show)

See Also:
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:


Attachments
Bug 38107: Add default sort order option to patron_holds_table (884 bytes, patch)
2024-10-07 18:09 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 38107: Add default sort order option to patron_holds_table (930 bytes, patch)
2024-10-08 00:36 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-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.