Changes between Version 6 and Version 7 of Ticket #30188


Ignore:
Timestamp:
Feb 18, 2019, 5:13:31 AM (6 years ago)
Author:
Lukas Klement
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30188 – Description

    v6 v7  
    3939    )
    4040    ingredients = RecipeIngredient.objects.filter(recipe__in=recipes).annotate(**annotations)
    41 
    4241    aggregators['cost_missing'] = Coalesce(Sum(
    4342        Case(
     
    4746       )
    4847    ), Value(0))
     48    data = ingredients.aggregate(**aggregators)
    4949
    50     data = ingredients.aggregate(**aggregators)
    5150    return data
    5251}}}
Back to Top