Skip to content
Snippets Groups Projects
Commit 538af6af authored by ynerant's avatar ynerant
Browse files

Buttons are ordered

parent a2f54d48
No related branches found
No related tags found
1 merge request!57Page de consommations
......@@ -141,7 +141,7 @@ class ConsoView(LoginRequiredMixin, SingleTableView):
"""
context = super().get_context_data(**kwargs)
context['transaction_templates'] = TransactionTemplate.objects.filter(display=True) \
.order_by('category')
.order_by('category').order_by('name')
context['title'] = _("Consumptions")
context['polymorphic_ctype'] = ContentType.objects.get_for_model(TemplateTransaction).pk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment