Typo in Pricegroup order_by
authorG. Richardson <information@kivitendo-premium.de>
Thu, 16 Apr 2015 06:38:21 +0000 (08:38 +0200)
committerG. Richardson <information@kivitendo-premium.de>
Thu, 16 Apr 2015 06:38:21 +0000 (08:38 +0200)
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;