Typo in Pricegroup order_by
[kivitendo-erp.git] / SL / PriceSource / Pricegroup.pm
index 8a322c5..2a8adae 100644 (file)
@@ -23,7 +23,7 @@ sub available_prices {
   my $prices = SL::DB::Manager::Price->get_all(
     query        => [ parts_id => $item->parts_id, price => { gt => 0 } ],
     with_objects => 'pricegroup',
-    order_by     => 'pricegroun.id',
+    order_by     => 'pricegroup.id',
   );
 
   return () unless @$prices;