This commit is contained in:
tanghucheng
2022-06-15 16:12:03 +08:00
parent be990c21f1
commit 7d8325f469
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -1472,7 +1472,11 @@ class commonModel extends model
$orderBy = "" . trim($fieldName, '`') . "" . '_' . 'asc';
$className = 'header';
}
$link = helper::createLink($module, $method, sprintf($vars, $orderBy));
$params = sprintf($vars, $orderBy);
if($app->getModuleName() == 'my') $params = "mode={$app->getMethodName()}&" .sprintf($vars, $orderBy);
$link = helper::createLink($module, $method, $params);
echo $isMobile ? html::a($link, $label, '', "class='$className' data-app={$app->tab}") : html::a($link, $label, '', "class='$className' data-app={$app->tab}");
}