X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fplatformsview.py;fp=portal%2Fplatformsview.py;h=71011642e55014775dcd2ec53fcc2609c9656903;hb=75570d93223f36e1f23bc69bbd39ca43fd56f0d3;hp=6f788beab27079e2f4b0ff52d04a475e009fa4ab;hpb=ec78acf94b2f10c9f07c8e575200313c294295d6;p=myslice.git diff --git a/portal/platformsview.py b/portal/platformsview.py index 6f788bea..71011642 100644 --- a/portal/platformsview.py +++ b/portal/platformsview.py @@ -28,13 +28,11 @@ class PlatformsView(TemplateView): query = platform_query, query_all = platform_query, checkboxes = False, - datatables_options = { - # for now we turn off sorting on the checkboxes columns this way - # this of course should be automatic in hazelnut - 'aoColumns' : [None, None, None, None, {'bSortable': False}], - 'iDisplayLength' : 25, - 'bLengthChange' : True, - }, + datatables_options = { + 'iDisplayLength': 10, + 'bLengthChange' : True, + 'bAutoWidth' : True, + }, ) context = super(PlatformsView, self).get_context_data(**kwargs)