summaryrefslogtreecommitdiff
path: root/talerbank/app/views.py
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-09-21 12:30:08 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-09-21 12:30:08 +0200
commit8243ff370ae2f5f6e52bc66d074355f34e444555 (patch)
tree47407312a5379df5cd993104318c0661f24c1c88 /talerbank/app/views.py
parent2e90943de2a8e640e647d39cd59a3063c0146511 (diff)
downloadbank-8243ff370ae2f5f6e52bc66d074355f34e444555.tar.gz
bank-8243ff370ae2f5f6e52bc66d074355f34e444555.tar.bz2
bank-8243ff370ae2f5f6e52bc66d074355f34e444555.zip
History order.
When passing history array to templates, the descending order is preferred.
Diffstat (limited to 'talerbank/app/views.py')
-rw-r--r--talerbank/app/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 1e53d98..c24dd0f 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -333,7 +333,7 @@ def extract_history(account,
start=-1,
sign="+"):
history = []
- qs = query_history(account, "both", delta, start, sign)
+ qs = query_history(account, "both", delta, start, sign, True)
for item in qs:
if item.credit_account == account:
counterpart = item.debit_account