Compare commits
No commits in common. "1f43f408cc62c95cf29422ea289d14ddeb187b36" and "216a1f8b7a8a9f3243cce21f0aa41da456db86ee" have entirely different histories.
1f43f408cc
...
216a1f8b7a
@ -28,7 +28,7 @@ class IngredientModel extends BaseModel
|
|||||||
}
|
}
|
||||||
public static function get_ing_values()
|
public static function get_ing_values()
|
||||||
{
|
{
|
||||||
$ing_list = self::filter(array(), count: 200);
|
$ing_list = self::filter(array());
|
||||||
$result = array();
|
$result = array();
|
||||||
foreach($ing_list as $ing) {
|
foreach($ing_list as $ing) {
|
||||||
$result[] = [ $ing->get_id(), $ing->field_name . ' ('. $ing->field_unit_name .')' ];
|
$result[] = [ $ing->get_id(), $ing->field_name . ' ('. $ing->field_unit_name .')' ];
|
||||||
|
|||||||
@ -4,5 +4,5 @@ use Lycoreco\Apps\Recipes\Models\RecipeModel;
|
|||||||
|
|
||||||
function the_product_item(RecipeModel $recipe)
|
function the_product_item(RecipeModel $recipe)
|
||||||
{
|
{
|
||||||
include APPS_PATH . '/Recipes/Templates/components/catalog-item.php';
|
require_once APPS_PATH . '/Recipes/Templates/components/catalog-item.php';
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user