allow to order tables by more fields (#1902)
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
'name': {'class': 'alwaysVisible'},
|
||||
'customer': {'class': 'hidden-xs'},
|
||||
'comment': {'class': 'hidden-xs hidden-sm', 'title': 'label.description'|trans},
|
||||
'orderNumber': {'class': 'hidden-xs hidden-sm hidden', 'orderBy': false},
|
||||
'orderDate': {'class': 'hidden-xs hidden-sm hidden', 'orderBy': false},
|
||||
'start': {'class': 'hidden-xs hidden-sm hidden', 'title': 'label.project_start'|trans, 'orderBy': false},
|
||||
'end': {'class': 'hidden-xs hidden-sm hidden', 'title': 'label.project_end'|trans, 'orderBy': false},
|
||||
'orderNumber': {'class': 'hidden-xs hidden-sm hidden'},
|
||||
'orderDate': {'class': 'hidden-xs hidden-sm hidden'},
|
||||
'start': {'class': 'hidden-xs hidden-sm hidden', 'title': 'label.project_start'|trans},
|
||||
'end': {'class': 'hidden-xs hidden-sm hidden', 'title': 'label.project_end'|trans},
|
||||
} %}
|
||||
{% for field in metaColumns %}
|
||||
{% set columns = columns|merge({
|
||||
@@ -20,7 +20,7 @@
|
||||
{% endfor %}
|
||||
{% set columns = columns|merge({
|
||||
'team': {'class': 'text-center w-min', 'orderBy': false},
|
||||
'visible': {'class': 'text-center hidden w-min', 'orderBy': false},
|
||||
'visible': {'class': 'text-center hidden w-min'},
|
||||
'actions': {'class': 'actions alwaysVisible'},
|
||||
}) %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user