Preisgruppen - Umstellung auf Controller, sortkey, obsolete
[kivitendo-erp.git] / SL / Controller / CsvImport / Part.pm
index 80fd3ce..9ccaf83 100644 (file)
@@ -118,7 +118,7 @@ sub init_parts_by {
 sub init_all_pricegroups {
   my ($self) = @_;
 
-  return SL::DB::Manager::Pricegroup->get_all(sort => 'id');
+  return SL::DB::Manager::Pricegroup->get_all_sorted;
 }
 
 sub init_settings {