standard sort is the first row (date) when no group_by is selected -fixes #3512
git-svn-id: https://dev.finn.de/svn/cockpit/branches/deployment_merge@1965 7926756e-e54e-46e6-9721-ed318f58905epull/6827/head
parent
23d0ace691
commit
2eb851653e
@ -0,0 +1,13 @@ |
|||||||
|
<% sort_first_row = sort_first_row || false %> |
||||||
|
|
||||||
|
<script type="text/javascript"> |
||||||
|
//<![CDATA[ |
||||||
|
var table_date_header = $$('#sortable-table th').first(); |
||||||
|
sortables_init(); |
||||||
|
<% if sort_first_row %> |
||||||
|
if (table_date_header.childElements().size() > 0) { |
||||||
|
ts_resortTable(table_date_header.childElements().first(), table_date_header.cellIndex); |
||||||
|
} |
||||||
|
<% end %> |
||||||
|
//]]> |
||||||
|
</script> |
Loading…
Reference in new issue