Skip to content

Commit

Permalink
Merge pull request HackAssistant#103 from Casassarnau/to_hackupc
Browse files Browse the repository at this point in the history
To hackupc
  • Loading branch information
Casassarnau authored Mar 22, 2020
2 parents 13fa6e4 + 1363b65 commit cc05ab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stats/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ def app_stats_api(request):

origin_count = Application.objects.all().values('origin') \
.annotate(applications=Count('origin')) \
.order_by('applications')[:10]
.order_by('-applications')[:10]
origin_count_confirmed = Application.objects.filter(status=APP_CONFIRMED).values('origin') \
.annotate(applications=Count('origin')) \
.order_by('applications')[:10]
.order_by('-applications')[:10]

tshirt_dict = dict(a_models.TSHIRT_SIZES)
shirt_count = map(
Expand Down

0 comments on commit cc05ab0

Please sign in to comment.