gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-bank] branch master updated: History order.


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: History order.
Date: Fri, 21 Sep 2018 12:30:48 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 8243ff3  History order.
8243ff3 is described below

commit 8243ff370ae2f5f6e52bc66d074355f34e444555
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Sep 21 12:30:08 2018 +0200

    History order.
    
    When passing history array to templates, the
    descending order is preferred.
---
 talerbank/app/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]