From 3abcf9837e7eb744695403fe1d7ddd5ff51f2de7 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Wed, 30 Jul 2025 13:06:53 +0800 Subject: [PATCH] * [bug#64357,doing,0.5h,1h] Add sortable. --- module/execution/ui/story.html.php | 4 ++++ 1 file changed, 4 insertions(+) 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')),