Merge pull request #1350 from TandoorRecipes/patch-empty-recipe_list

Update recipe_search.py
This commit is contained in:
vabene1111 2022-01-17 17:59:19 +01:00 committed by GitHub
commit 0ed9100fb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -490,7 +490,7 @@ class RecipeFacet():
'space': self._request.space,
}
elif self.hash_key is not None:
self._recipe_list = self._cache.get('recipe_list', None)
self._recipe_list = self._cache.get('recipe_list', [])
self._search_params = {
'keyword_list': self._cache.get('keyword_list', None),
'food_list': self._cache.get('food_list', None),