src/pyams_content/shared/common/zmi/dashboard.py
changeset 527 5dd1aa8bedd9
parent 334 6b2f75e60076
child 759 780d6776a857
--- a/src/pyams_content/shared/common/zmi/dashboard.py	Wed Apr 11 16:44:46 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/dashboard.py	Wed Apr 11 16:46:31 2018 +0200
@@ -91,10 +91,10 @@
     @property
     def data_attributes(self):
         attributes = super(BaseDashboardTable, self).data_attributes
-        attributes['table'] = {'data-ams-datatable-sorting': "{0},{1}".format(len(self.columns) - 1,
-                                                                              self.dt_sort_order),
-                               'data-ams-datatable-display-length':
-                                   IAdminProfile(self.request.principal).table_page_length}
+        attributes['table'] = {
+            'data-ams-datatable-sorting': "{0},{1}".format(len(self.columns) - 1, self.dt_sort_order),
+            'data-ams-datatable-display-length': IAdminProfile(self.request.principal).table_page_length
+        }
         return attributes
 
     @cached_property