From cb899175e1500b594fdaae7112cbdfd413283bc0 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 31 Jul 2025 11:08:26 +0800 Subject: [PATCH] * [bug#64368,done,0.5h] add sort link for struct list. --- module/api/ui/struct.html.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/api/ui/struct.html.php b/module/api/ui/struct.html.php index 96cac66d64..36bebeb998 100644 --- a/module/api/ui/struct.html.php +++ b/module/api/ui/struct.html.php @@ -24,6 +24,7 @@ div set::userMap($users), set::footPager(usePager()), set::loadPartial(), - set::loadOptions(array('zui-command' => 'updateLazyContent', 'data-lazy-target' => '#table-api-struct')) + set::loadOptions(array('zui-command' => 'updateLazyContent', 'data-lazy-target' => '#table-api-struct')), + set::sortLink(createLink('api', 'struct', "libID={$libID}&releaseID={$releaseID}&orderBy={name}_{sortType}")) ), );