Revision ad97dcb6
Von Martin Helmling martin.helmling@octosoft.eu vor mehr als 8 Jahren hinzugefügt
SL/DB/Manager/CsvImportReport.pm | ||
---|---|---|
23 | 23 |
# get reports for the active session that aren't the latest |
24 | 24 |
$objects = $self->get_all( |
25 | 25 |
query => [ session_id => $::auth->get_session_id, ], |
26 |
order_by => [ 'id' ],
|
|
26 |
sort_by => [ 'id' ],
|
|
27 | 27 |
); |
28 | 28 |
|
29 | 29 |
# skip the last one |
SL/PriceSource/Pricegroup.pm | ||
---|---|---|
23 | 23 |
my $prices = SL::DB::Manager::Price->get_all( |
24 | 24 |
query => [ parts_id => $item->parts_id, price => { gt => 0 } ], |
25 | 25 |
with_objects => 'pricegroup', |
26 |
order_by => 'pricegroup.id',
|
|
26 |
sort_by => 'pricegroup.id',
|
|
27 | 27 |
); |
28 | 28 |
|
29 | 29 |
return () unless @$prices; |
Auch abrufbar als: Unified diff
BUG-FIX: Rose kann nur sort_by
order_by wird stillschweigend ignoriert
Weitere Fixes?