Add SELECT DISTINCT to show_actions_done() SQL request
This commit is contained in:
parent
9a6a3d8df4
commit
10dd5652ee
@ -1315,7 +1315,8 @@ function show_actions_done($conf, $langs, $db, $filterobj, $objcon='', $noprint=
|
||||
if (! empty($conf->agenda->enabled))
|
||||
{
|
||||
// Recherche histo sur actioncomm
|
||||
$sql = "SELECT a.id, a.label,";
|
||||
// @since PR #9972, add DISTINCT.
|
||||
$sql = "SELECT DISTINCT a.id, a.label,";
|
||||
$sql.= " a.datep as dp,";
|
||||
$sql.= " a.datep2 as dp2,";
|
||||
$sql.= " a.note, a.percent,";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user