Skip to content

Commit

Permalink
Merge pull request #949 from stencila/2021-01-19-sort-account-tiers-pt-2
Browse files Browse the repository at this point in the history
fix(Pricing): Sort account plans for logged in users
  • Loading branch information
alex-ketch authored Jan 19, 2021
2 parents 0d1ce73 + 5e75b9a commit 3502e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/accounts/ui/views/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def plan(request: HttpRequest, *args, **kwargs) -> HttpResponse:
viewset = AccountsViewSet.init("update_plan", request, args, kwargs)
account = viewset.get_object()
usage = AccountQuotas.usage(account)
tiers = AccountTier.objects.all()
tiers = AccountTier.objects.order_by("id").all()
fields = AccountTier.fields()
return render(
request,
Expand Down

0 comments on commit 3502e34

Please sign in to comment.