= partial
+ .order_by_desc(transaction::Column::Date)
.order_by_desc(transaction::Column::Id)
.all(conn.into_inner())
.await
diff --git a/bookkeeper/templates/index.html.j2 b/bookkeeper/templates/index.html.j2
index fb8bebe..0c627ef 100644
--- a/bookkeeper/templates/index.html.j2
+++ b/bookkeeper/templates/index.html.j2
@@ -27,7 +27,7 @@
{% if loop.index == 1 %}
| {{ r.code|string|padLeft(6) }} |
- {{ r.name }} |
+ {{ r.name }} |
{{ r.date }} |
{{ r.buy|float|round(4) }} |
{{ r.volume }} |
@@ -64,7 +64,7 @@
{% else %}
| {{ r.code|string|padLeft(6) }} |
- {{ r.name }} |
+ {{ r.name }} |
{{ r.date }} |
{{ r.buy|float|round(4) }} |
{{ r.volume }} |