Changes between Version 6 and Version 7 of Ticket #30188
- Timestamp:
- Feb 18, 2019, 5:13:31 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30188 – Description
v6 v7 39 39 ) 40 40 ingredients = RecipeIngredient.objects.filter(recipe__in=recipes).annotate(**annotations) 41 42 41 aggregators['cost_missing'] = Coalesce(Sum( 43 42 Case( … … 47 46 ) 48 47 ), Value(0)) 48 data = ingredients.aggregate(**aggregators) 49 49 50 data = ingredients.aggregate(**aggregators)51 50 return data 52 51 }}}