web/views/tableview.py
branchstable
changeset 6254 936e98213598
parent 6249 1729f53b3e42
child 6582 8eb7883b4223
--- a/web/views/tableview.py	Thu Sep 16 11:26:08 2010 +0200
+++ b/web/views/tableview.py	Thu Sep 16 11:26:55 2010 +0200
@@ -140,11 +140,11 @@
         if mainindex is None:
             displayfilter, displayactions = False, False
         else:
-            if displayfilter is None and 'displayfilter' in req.form:
+            if displayfilter is None and req.form.get('displayfilter'):
                 displayfilter = True
                 if req.form['displayfilter'] == 'shown':
                     hidden = False
-            if displayactions is None and 'displayactions' in req.form:
+            if displayactions is None and req.form.get('displayactions'):
                 displayactions = True
         displaycols = self.displaycols(displaycols, headers)
         fromformfilter = 'fromformfilter' in req.form