Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Number of returned ingredient search results to 100

Roland Geider82a049ab374a
diff --git a/wger/nutrition/api/views.py b/wger/nutrition/api/views.py
index 86d412b96..e14abaf29 100644
--- a/wger/nutrition/api/views.py
+++ b/wger/nutrition/api/views.py
@@ -173,7 +173,7 @@ def search(request):
name__icontains=term,
language__in=languages,
status=Ingredient.STATUS_ACCEPTED,
- )[:30]
+ )[:100]
for ingredient in ingredients:
if hasattr(ingredient, 'image'):