diff --git a/apps/note/views.py b/apps/note/views.py index 8bb4165ed80af09936f3906a01767aad172e8362..82f2f4aafbc0ad255e556ccc5e4b8d2ff2021565 100644 --- a/apps/note/views.py +++ b/apps/note/views.py @@ -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