Bug 34639: Restore order_by
To test: 1. prove t/db_dependent/Koha/Item.t 2. Observe success Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
74b205649b
commit
066c0b3e0d
1 changed files with 1 additions and 0 deletions
|
@ -984,6 +984,7 @@ __PACKAGE__->has_many(
|
|||
"$args->{foreign_alias}.datecancelled" => undef,
|
||||
};
|
||||
},
|
||||
{ order_by => [ { -desc => 'datesent' }, { -asc => 'daterequested' } ] }
|
||||
);
|
||||
|
||||
# Relationship with bundled items
|
||||
|
|
Loading…
Reference in a new issue