diff --git a/htdocs/comm/action/listactions.php b/htdocs/comm/action/listactions.php
index b603792b957..7a5dbfdaff9 100644
--- a/htdocs/comm/action/listactions.php
+++ b/htdocs/comm/action/listactions.php
@@ -182,7 +182,7 @@ if ($filtera > 0 || $filtert > 0 || $filterd > 0)
}
$sql.= $db->order($sortfield,$sortorder);
$sql.= $db->plimit($limit + 1, $offset);
-//print $sql;
+print $sql;
dol_syslog("comm/action/listactions.php sql=".$sql);
$resql=$db->query($sql);
@@ -238,7 +238,7 @@ if ($resql)
$i = 0;
print '
';
print '';
- print_liste_field_titre($langs->trans("Action"),$_SERVER["PHP_SELF"],"acode",$param,"","",$sortfield,$sortorder);
+ print_liste_field_titre($langs->trans("Action"),$_SERVER["PHP_SELF"],"a.label",$param,"","",$sortfield,$sortorder);
//print_liste_field_titre($langs->trans("Title"),$_SERVER["PHP_SELF"],"a.label",$param,"","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("DateStart"),$_SERVER["PHP_SELF"],"a.datep",$param,'','align="center"',$sortfield,$sortorder);
print_liste_field_titre($langs->trans("DateEnd"),$_SERVER["PHP_SELF"],"a.datep2",$param,'','align="center"',$sortfield,$sortorder);