git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stupidly tried to set checkboxes=False .. on an otherwise empty table - dataTables...
[unfold.git]
/
portal
/
sliceview.py
diff --git
a/portal/sliceview.py
b/portal/sliceview.py
index
0e514dd
..
9c2ba60
100644
(file)
--- a/
portal/sliceview.py
+++ b/
portal/sliceview.py
@@
-232,6
+232,8
@@
class SliceView (LoginRequiredAutoLogoutView):
togglable = False,
# this is the query at the core of the slice list
query = sq_measurement,
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,
checkboxes = True,
datatables_options = {
'iDisplayLength' : 25,