order_by wird stillschweigend ignoriert
Weitere Fixes?
# get reports for the active session that aren't the latest
$objects = $self->get_all(
query => [ session_id => $::auth->get_session_id, ],
# get reports for the active session that aren't the latest
$objects = $self->get_all(
query => [ session_id => $::auth->get_session_id, ],
my $prices = SL::DB::Manager::Price->get_all(
query => [ parts_id => $item->parts_id, price => { gt => 0 } ],
with_objects => 'pricegroup',
my $prices = SL::DB::Manager::Price->get_all(
query => [ parts_id => $item->parts_id, price => { gt => 0 } ],
with_objects => 'pricegroup',
- order_by => 'pricegroup.id',
+ sort_by => 'pricegroup.id',
);
return () unless @$prices;
);
return () unless @$prices;