Bug 41407

Summary: OPAC hold history sorts newest to oldest but hides newest to limit to 50
Product: Koha Reporter: Lisette Scheer <lisette>
Component: OPACAssignee: Lisette Scheer <lisette>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38778
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Lisette Scheer 2025-12-08 21:58:54 UTC
Sort of hold history on the opac is unintuitive. 
It seems like if it's sorting newest to oldest, it should show the 50 newest holds, not active holds then oldest->newest holds until 50. 

To recreate on main:

1. Allow to override holds in system preferences 
2. Allow borrowers to see HoldHistory in the OPAC
3. place at least 51 holds for a single patron.
4. Backdate some of the hold dates to past days, set one of them to be newer than the rest.
5. log in as that patron on the OPAC
6. Go to the holds history
7. observe the 50 holds and see that your newest one doesn't show
8. click the link to view all and see your newst one does show.