Skip to content

Commit

Permalink
budgeting/api: add annotation for egative votes fixes #4895
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillippa authored and philli-m committed Feb 9, 2023
1 parent 6a19db0 commit c0f19cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meinberlin/apps/budgeting/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ def get_queryset(self):
Proposal.objects.filter(module=self.module)
.annotate_comment_count()
.annotate_positive_rating_count()
.annotate_negative_rating_count()
.annotate_reference_number()
.annotate_token_vote_count()
.order_by("-created")
Expand Down

0 comments on commit c0f19cb

Please sign in to comment.