BUG-FIX: Rose kann nur sort_by
[kivitendo-erp.git] / SL / DB / Manager / CsvImportReport.pm
index 0a8fe2a..f5ce9b9 100644 (file)
@@ -23,7 +23,7 @@ sub cleanup {
   # get reports for the active session that aren't the latest
   $objects = $self->get_all(
     query => [ session_id => $::auth->get_session_id, ],
-    order_by => [ 'id' ],
+    sort_by => [ 'id' ],
   );
 
   # skip the last one