diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index 1c36ffdd9bd983aed467cfa7398978987b590105..ac4108ac05d7fb024c06e04db4001583ec1b191a 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -227,7 +227,7 @@ if ($resql) $text=$langs->trans("Projects"); if ($mine) $text=$langs->trans('MyProjects'); - print_barre_liste($text, $page, $_SERVER["PHP_SELF"], "", $sortfield, $sortorder, "", $num,'','title_project'); + print_barre_liste($text, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, "", $num,'','title_project'); print '<form method="GET" id="searchFormList" action="'.$_SERVER["PHP_SELF"].'">'; diff --git a/htdocs/projet/tasks/index.php b/htdocs/projet/tasks/index.php index 02a8eddbc5915ec5ed776beb838d9671d725ff1b..22b53d9f61ce68fd2359fd0bf2ba6031f70a8fde 100644 --- a/htdocs/projet/tasks/index.php +++ b/htdocs/projet/tasks/index.php @@ -180,14 +180,14 @@ print '<input type="image" class="liste_titre" name="button_search" src="'.img_p print '<input type="image" class="liste_titre" name="button_removefilter" src="'.img_picto($langs->trans("RemoveFilter"),'searchclear.png','','',1).'" value="'.dol_escape_htmltag($langs->trans("RemoveFilter")).'" title="'.dol_escape_htmltag($langs->trans("RemoveFilter")).'">'; print '</td>'; -$max=1000; +$max=10000; if (count($tasksarray) > (empty($conf->global->PROJECT_LIMIT_TASK_PROJECT_AREA)?$max:$conf->global->PROJECT_LIMIT_TASK_PROJECT_AREA)) { $langs->load("errors"); print '<tr '.$bc[0].'>'; print '<td colspan="9">'; - print $langs->trans("WarningTooManyDataPleaseUseMoreFilters"); + print $langs->trans("WarningTooManyDataPleaseUseMoreFilters", $max, 'PROJECT_LIMIT_TASK_PROJECT_AREA'); print '</td></tr>'; } else