Better JS
This commit is contained in:
parent
e0c650a039
commit
f9451da7f1
7 changed files with 295 additions and 177 deletions
|
|
@ -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('name')
|
||||
.order_by('category__name', 'name')
|
||||
context['title'] = _("Consumptions")
|
||||
context['polymorphic_ctype'] = ContentType.objects.get_for_model(TemplateTransaction).pk
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue