Revert "* Optimize code."

This reverts commit 33f653efb9.
This commit is contained in:
wangyuting
2025-09-24 16:28:35 +08:00
parent f0b75bcb99
commit 74c8d3a9a1
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -509,7 +509,7 @@ function initPageEntity(object $object): array
* @access public
* @return array
*/
function initTableData(array $items, array &$fieldList, ?object $model = null): array
function initTableData(array $items, array &$fieldList, ?object $model = null, string $moduleName = ''): array
{
if(!empty($_GET['orderBy']) && strpos($_GET['orderBy'], '-') !== false) list($orderField, $orderValue) = explode('_', $_GET['orderBy']);
if(!empty($orderField) && !empty($orderValue) && !empty($fieldList[$orderField]))