Fixed Location Content Sheet product ordering (fixes #590)

This commit is contained in:
Bernd Bestel
2020-03-06 20:56:11 +01:00
parent 5cfe7cf34d
commit f440604007
2 changed files with 2 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ class StockService extends BaseService
public function GetCurrentStockLocationContent()
{
$sql = 'SELECT * FROM stock_current_location_content';
$sql = 'SELECT sclc.* FROM stock_current_location_content sclc JOIN products p ON sclc.product_id = p.id ORDER BY p.name';
return $this->getDatabaseService()->ExecuteDbQuery($sql)->fetchAll(\PDO::FETCH_OBJ);
}