From 25a3fe1c195e880848428e7190a3311667071fc2 Mon Sep 17 00:00:00 2001 From: sunhao Date: Mon, 26 May 2025 17:12:17 +0800 Subject: [PATCH] * [bug #62854] fix local pager in zentao list not work as expected. --- module/doc/ui/zentaolist.html.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/doc/ui/zentaolist.html.php b/module/doc/ui/zentaolist.html.php index 1672531457..61507468d5 100644 --- a/module/doc/ui/zentaolist.html.php +++ b/module/doc/ui/zentaolist.html.php @@ -21,6 +21,9 @@ $actions = array(); $actions[] = array('icon' => 'menu-backend', 'text' => $lang->doc->zentaoAction['set'], 'data-toggle' => 'modal', 'url' => str_replace('{blockID}', "$blockID", $settings), 'data-size' => 'lg'); $actions[] = array('icon' => 'trash', 'text' => $lang->doc->zentaoAction['delete'], 'zui-on-click' => "deleteZentaoList($blockID)"); +$pagerSetting = usePager(); +unset($pagerSetting['linkCreator']); + div ( set('data-id', $blockID), @@ -59,7 +62,7 @@ div set::customCols(false), set::onRenderCell(jsRaw('window.renderCell')), set::localPager(), - set::footPager(usePager()), + set::footPager($pagerSetting), set::footer(array('flex', 'pager')), $type == 'productRelease' ? set::plugins(array('cellspan')) : null, $type == 'productRelease' ? set::getCellSpan(jsRaw('window.getCellSpan')) : null