@@ -, +, @@ --- Koha/Schema/Result/Item.pm | 3 +++ 1 file changed, 3 insertions(+) --- a/Koha/Schema/Result/Item.pm +++ a/Koha/Schema/Result/Item.pm @@ -984,6 +984,9 @@ __PACKAGE__->has_many( "$args->{foreign_alias}.datecancelled" => undef, } }, + { + order_by => [ { -desc => 'datesent' }, { -asc => 'daterequested' } ] + } ); # Relationship with bundled items --