https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42004 Bug ID: 42004 Summary: Checkout history becomes weird after 1000 checkouts on an item Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: baptiste.wojtkowski@biblibre.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle@bywatersolutions.com This code from issuehistory.pl looks very weird to me, in particular when you have a timestamp ordered ascendently. A temporary fix waiting for an update of the array would be to order by timestamps descending. 51 my @old_checkouts = Koha::Old::Checkouts->search( 52 { biblionumber => $biblionumber }, 53 { 54 join => 'item', 55 order_by => 'timestamp', 56 rows => 1000, 57 } 58 )->as_list; Steps to reproduce : 1 - Add 1000+ checkouts 2 - visit issuehistory.pl -> the last issues are not on top. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.