Debug v20

This commit is contained in:
Laurent Destailleur
2024-07-02 18:52:26 +02:00
parent a75d6e6ffe
commit 331fb36f47

View File

@@ -1681,11 +1681,11 @@ while ($i < $imaxinloop) {
if (in_array($tmpcursor, $groupofcollpasedvalues)) {
print ' kanbancollapsed';
}
print '" data-html="column_'.preg_replace('/[^a-z0-9]/', '', $tmpcursor).'">';
print '" data-groupbyid="'.preg_replace('/[^a-z0-9]/', '', $tmpcursor).'">';
print '<div class="kanbanlabel">'.$langs->trans($tmpgroupbyvalue).'</div>';
print '</div>'; // Start and end the new column
}
print '<div class="box-flex-container-column kanban column" data-html="column_'.preg_replace('/[^a-z0-9]/', '', $groupbyvalue).'">'; // Start new column
print '<div class="box-flex-container-column kanban column" data-groupbyid="'.preg_replace('/[^a-z0-9]/', '', $groupbyvalue).'">'; // Start new column
print '<div class="kanbanlabel">'.$langs->trans(empty($groupbyvalues[$groupbyvalue]) ? 'Undefined' : $groupbyvalues[$groupbyvalue]).'</div>';
}
$groupbyold = $groupbyvalue;
@@ -1718,7 +1718,7 @@ while ($i < $imaxinloop) {
if (in_array($tmpcursor, $groupofcollpasedvalues)) {
print ' kanbancollapsed';
}
print '" data-html="column_'.preg_replace('/[^a-z0-9]/', '', $tmpcursor).'">';
print '" data-groupbyid="'.preg_replace('/[^a-z0-9]/', '', $tmpcursor).'">';
print '<div class="kanbanlabel">'.$langs->trans(empty($tmpgroupbyvalue) ? 'Undefined' : $tmpgroupbyvalue).'</div>';
print '</div>'; // Start and end the new column
}