diff --git a/wger/nutrition/api/filtersets.py b/wger/nutrition/api/filtersets.py index a1cca19da..e61608687 100644 --- a/wger/nutrition/api/filtersets.py +++ b/wger/nutrition/api/filtersets.py @@ -27,17 +27,22 @@ class IngredientFilterSet(filters.FilterSet): 'id': ['exact', 'in'], 'uuid': ['exact'], 'code': ['exact'], + 'source_name': ['exact'], + 'name': ['exact'], + + 'energy': ['exact'], + 'protein': ['exact'], 'carbohydrates': ['exact'], 'carbohydrates_sugar': ['exact'], - 'created': ['exact', 'gt', 'lt'], - 'last_update': ['exact', 'gt', 'lt'], - 'energy': ['exact'], 'fat': ['exact'], 'fat_saturated': ['exact'], 'fiber': ['exact'], - 'name': ['exact'], - 'protein': ['exact'], 'sodium': ['exact'], + + 'created': ['exact', 'gt', 'lt'], + 'last_update': ['exact', 'gt', 'lt'], + 'last_imported': ['exact', 'gt', 'lt'], + 'language': ['exact'], 'license': ['exact'], 'license_author': ['exact'],