mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Exclude inactive products from recipe ingredient edit page (fixes #1448)
This commit is contained in:
parent
95d212a076
commit
5c3809aa33
@ -157,7 +157,7 @@ class RecipesController extends BaseController
|
||||
'mode' => 'create',
|
||||
'recipe' => $this->getDatabase()->recipes($args['recipeId']),
|
||||
'recipePos' => new \stdClass(),
|
||||
'products' => $this->getDatabase()->products()->orderBy('name', 'COLLATE NOCASE'),
|
||||
'products' => $this->getDatabase()->products()->where('active = 1')->orderBy('name', 'COLLATE NOCASE'),
|
||||
'quantityUnits' => $this->getDatabase()->quantity_units()->orderBy('name', 'COLLATE NOCASE'),
|
||||
'quantityUnitConversionsResolved' => $this->getDatabase()->quantity_unit_conversions_resolved()
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user