mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Merge pull request #1995 from atm-maxime/3.4
Fix : actioncomme report was not filtering by entity...
This commit is contained in:
commit
45d57b0492
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user