stupidly tried to set checkboxes=False .. on an otherwise empty table - dataTables...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 1 Oct 2013 14:20:43 +0000 (16:20 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 1 Oct 2013 14:20:43 +0000 (16:20 +0200)
tested checkboxes=False on other hazelnuts and it worked fine

portal/sliceview.py

index 0e514dd..9c2ba60 100644 (file)
@@ -232,6 +232,8 @@ class SliceView (LoginRequiredAutoLogoutView):
             togglable   = False,
             # this is the query at the core of the slice list
             query       = sq_measurement,
+            # do NOT set checkboxes to False
+            # this table being otherwise empty, it just does not fly with dataTables
             checkboxes  = True,
             datatables_options = { 
                 'iDisplayLength' : 25,