Fix pagination on month archive, keep account

This commit is contained in:
Edgar P. Burkhart 2023-12-30 09:40:11 +01:00
parent a0bc1a6608
commit 14755df86b
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
6 changed files with 7 additions and 7 deletions

View file

@ -14,7 +14,7 @@
{% include "statement/statement_table.html" %}
<h3>{% translate "Transactions" %}</h3>
{% include "transaction/transaction_table.html" %}
{% if history.data %}
{% if history %}
<h3>{% translate "History" %}</h3>
{% include "history/plot.html" %}
{% endif %}

View file

@ -30,6 +30,6 @@ urlpatterns = [
path(
"<account>/history/<int:year>/<int:month>",
TransactionMonthView.as_view(),
name="transaction_month",
name="account_transaction_month",
),
]