summaryrefslogtreecommitdiff
path: root/kosten/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'kosten/app/views')
-rw-r--r--kosten/app/views/consts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kosten/app/views/consts.py b/kosten/app/views/consts.py
index 47af1e5..3ac5175 100644
--- a/kosten/app/views/consts.py
+++ b/kosten/app/views/consts.py
@@ -59,7 +59,7 @@ class ConstForm(F.Form):
# init prev_list
CE = ConstExpense
- filter = (CE.next != None)
+ filter = (CE.next == None)
if cur and cur.id is not None: # not empty
filter = sql.or_(CE.next == cur, filter)