diff --git a/module/execution/ui/story.html.php b/module/execution/ui/story.html.php index 48ddb42c36..5917f6faf0 100644 --- a/module/execution/ui/story.html.php +++ b/module/execution/ui/story.html.php @@ -583,6 +583,10 @@ dtable set::groupDivider(true), set::cols($cols), set::data($data), + set::plugins(array('sortable')), + set::sortable($orderBy == 'order_desc'), + set::onSortEnd($orderBy == 'order_desc' ? jsRaw('window.onSortEnd') : null), + set::canSortTo($orderBy == 'order_desc' ? jsRaw('window.canSortTo') : null), set::noNestedCheck(), set::footToolbar($footToolbar), set::onRenderCell(jsRaw('window.renderStoryCell')),