Skip to content

Commit

Permalink
Use table alias for qty field
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekeilty committed Apr 16, 2015
1 parent e64f88b commit 20836e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public function useNotifyStockQtyFilter($storeId = null)
(int)$this->stockConfiguration->getNotifyStockQty($storeId),
$this->_getInventoryItemField('notify_stock_qty')
);
$this->getSelect()->where('qty < ?', $notifyStockExpr);
$this->getSelect()->where($this->_getInventoryItemField('qty') . ' < ?', $notifyStockExpr);
return $this;
}
}

0 comments on commit 20836e7

Please sign in to comment.