diff --git a/module/common/model.php b/module/common/model.php index fac75ac1e6..76d9e97b58 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -3381,12 +3381,12 @@ EOD; * @access public * @return bool */ - public static function sortFeatureMenu() + public static function sortFeatureMenu($module = '', $method = '') { global $lang, $app; - $module = $app->rawModule; - $method = $app->rawMethod; + $module = $module ? $module : $app->rawModule; + $method = $method ? $method : $app->rawMethod; /* It will be sorted according to the workflow in the future */ if(!empty($lang->featureBarSort[$module][$method])) diff --git a/module/project/view/execution.html.php b/module/project/view/execution.html.php index 59fa5c2cc1..2dfb348040 100644 --- a/module/project/view/execution.html.php +++ b/module/project/view/execution.html.php @@ -18,6 +18,7 @@ ?> + execution->featureBar['all'] as $key => $label):?> $label";?> {$pager->recTotal}";?>