Skip to content
Snippets Groups Projects
Commit ccddf0d1 authored by Maxime Kohlhaas's avatar Maxime Kohlhaas
Browse files

Fix : actioncomme report was not filtering by entity...

parent 0b2a81f4
No related branches found
No related tags found
No related merge requests found
......@@ -182,6 +182,7 @@ class CommActionRapport
$sql.= " WHERE c.id=a.fk_action AND a.fk_user_author = u.rowid";
$sql.= " AND a.datep BETWEEN '".$this->db->idate(dol_get_first_day($this->year,$this->month,false))."'";
$sql.= " AND '".$this->db->idate(dol_get_last_day($this->year,$this->month,false))."'";
$sql.= " AND a.entity = ".$conf->entity;
$sql.= " ORDER BY a.datep DESC";
dol_syslog(get_class($this)."::_page sql=".$sql);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment