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.