From 65595d139a0a7cf8f09a4ebaabf3174b02fbfaa3 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Mon, 23 Jan 2023 22:41:13 +0100 Subject: [PATCH] Set default sort order for all lists --- core/admin/mailu/ui/templates/admin/list.html | 2 +- core/admin/mailu/ui/templates/alias/list.html | 2 +- core/admin/mailu/ui/templates/alternative/list.html | 2 +- core/admin/mailu/ui/templates/fetch/list.html | 2 +- core/admin/mailu/ui/templates/manager/list.html | 2 +- core/admin/mailu/ui/templates/token/list.html | 2 +- core/admin/mailu/ui/templates/user/list.html | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/admin/mailu/ui/templates/admin/list.html b/core/admin/mailu/ui/templates/admin/list.html index e50c0ee6..05f9e68d 100644 --- a/core/admin/mailu/ui/templates/admin/list.html +++ b/core/admin/mailu/ui/templates/admin/list.html @@ -11,7 +11,7 @@ {%- endblock %} {%- block content %} -{%- call macros.table() %} +{%- macros.table(order='[[1,"asc"]]') %} {% trans %}Actions{% endtrans %} diff --git a/core/admin/mailu/ui/templates/alias/list.html b/core/admin/mailu/ui/templates/alias/list.html index 833e44c1..76e28624 100644 --- a/core/admin/mailu/ui/templates/alias/list.html +++ b/core/admin/mailu/ui/templates/alias/list.html @@ -13,7 +13,7 @@ {%- endblock %} {%- block content %} -{%- call macros.table() %} +{%- macros.table(order='[[1,"asc"]]') %} {% trans %}Actions{% endtrans %} diff --git a/core/admin/mailu/ui/templates/alternative/list.html b/core/admin/mailu/ui/templates/alternative/list.html index 97482ac3..d55bd0dd 100644 --- a/core/admin/mailu/ui/templates/alternative/list.html +++ b/core/admin/mailu/ui/templates/alternative/list.html @@ -13,7 +13,7 @@ {%- endblock %} {%- block content %} -{%- call macros.table() %} +{%- macros.table(order='[[1,"asc"]]') %} {% trans %}Actions{% endtrans %} diff --git a/core/admin/mailu/ui/templates/fetch/list.html b/core/admin/mailu/ui/templates/fetch/list.html index 74d3a02f..d26c164f 100644 --- a/core/admin/mailu/ui/templates/fetch/list.html +++ b/core/admin/mailu/ui/templates/fetch/list.html @@ -13,7 +13,7 @@ {%- endblock %} {%- block content %} -{%- call macros.table() %} +{%- macros.table(order='[[1,"asc"]]') %} {% trans %}Actions{% endtrans %} diff --git a/core/admin/mailu/ui/templates/manager/list.html b/core/admin/mailu/ui/templates/manager/list.html index 95dc9f4a..b08dab6b 100644 --- a/core/admin/mailu/ui/templates/manager/list.html +++ b/core/admin/mailu/ui/templates/manager/list.html @@ -13,7 +13,7 @@ {%- endblock %} {%- block content %} -{%- call macros.table(order='[[2,"asc"]]') %} +{%- call macros.table(order='[[1,"asc"]]') %} {% trans %}Actions{% endtrans %} diff --git a/core/admin/mailu/ui/templates/token/list.html b/core/admin/mailu/ui/templates/token/list.html index a6eee9c3..e25111c9 100644 --- a/core/admin/mailu/ui/templates/token/list.html +++ b/core/admin/mailu/ui/templates/token/list.html @@ -13,7 +13,7 @@ {%- endblock %} {%- block content %} -{%- call macros.table() %} +{%- macros.table(order='[[1,"asc"]]') %} {% trans %}Actions{% endtrans %} diff --git a/core/admin/mailu/ui/templates/user/list.html b/core/admin/mailu/ui/templates/user/list.html index 873c37e8..28fa2ca8 100644 --- a/core/admin/mailu/ui/templates/user/list.html +++ b/core/admin/mailu/ui/templates/user/list.html @@ -13,7 +13,7 @@ {%- endblock %} {%- block content %} -{%- call macros.table() %} +{%- macros.table(order='[[2,"asc"]]') %} {% trans %}Actions{% endtrans %}