Fix click on alert checkbox in project list

This commit is contained in:
ldestailleur 2025-03-10 00:46:07 +01:00
parent cffc478b26
commit 45877c8b6d

View file

@ -1235,7 +1235,7 @@ if (getDolGlobalString('MAIN_SEARCH_CATEGORY_CUSTOMER_ON_PROJECT_LIST') && isMod
// alert on late date
$moreforfilter .= '<div class="divsearchfield">';
$moreforfilter .= $langs->trans('Alert').' <input type="checkbox" name="search_option" value="late"'.($search_option == 'late' ? ' checked' : '').'>';
$moreforfilter .= '<label for="search_option" title="'.$langs->trans("Late").'">'.$langs->trans('Alert').' </label><input type="checkbox" id="search_option" name="search_option" value="late"'.($search_option == 'late' ? ' checked' : '').'>';
$moreforfilter .= '</div>';
if (getDolGlobalInt('PROJECT_ENABLE_SUB_PROJECT')) {