mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 17:24:07 +00:00
Optimized performance of GetProductDetails
This commit is contained in:
@@ -204,7 +204,7 @@ class LocalizationService
|
||||
$quantityUnits = null;
|
||||
try
|
||||
{
|
||||
$quantityUnits = $this->getDatabase()->quantity_units()->fetchAll();
|
||||
$quantityUnits = $this->getDatabase()->quantity_units()->where('active = 1')->fetchAll();
|
||||
}
|
||||
catch (\Exception $ex)
|
||||
{
|
||||
|
Reference in New Issue
Block a user