Fix bad filter link

This commit is contained in:
Laurent Destailleur 2018-02-05 23:05:37 +01:00
parent 6d52676600
commit 2fbe4637ac

View File

@ -1048,7 +1048,7 @@ class ActionComm extends CommonObject
$response = new WorkboardResponse();
$response->warning_delay = $conf->agenda->warning_delay/60/60/24;
$response->label = $langs->trans("ActionsToDo");
$response->url = DOL_URL_ROOT.'/comm/action/list.php?status=todo&mainmenu=agenda';
$response->url = DOL_URL_ROOT.'/comm/action/list.php?actioncode=0&status=todo&mainmenu=agenda';
if ($user->rights->agenda->allactions->read) $response->url.='&filtert=-1';
$response->img = img_object('',"action",'class="inline-block valigntextmiddle"');
}