diff --git a/module/execution/control.php b/module/execution/control.php index 6acd9a3ba8..dfe936fd34 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -192,7 +192,7 @@ class execution extends control /* Build the search form. */ $modules = $this->loadModel('tree')->getTaskOptionMenu($executionID, 0, $showModule); - $actionURL = $this->createLink('execution', 'task', "executionID=$executionID&status=bySearch¶m=myQueryID&recTotal=0&recPerPage=100&pageID=1&from=$from&blockID=$blockID"); + $actionURL = $this->createLink('execution', 'task', "executionID=$executionID&status=bySearch¶m=myQueryID&orderBy=$orderBy&recTotal=0&recPerPage=100&pageID=1&from=$from&blockID=$blockID"); $this->config->execution->search['onMenuBar'] = 'yes'; if(!$execution->multiple) unset($this->config->execution->search['fields']['execution']); $this->execution->buildTaskSearchForm($executionID, $this->executions, $queryID, $actionURL);