--- 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