Fix : widget event for next 14 days not showing events
This commit is contained in:
parent
6f8efee919
commit
fde7d62ac9
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class Event extends Widget
|
||||||
left join vw_fiche_attr on (f_id=f_id_dest)
|
left join vw_fiche_attr on (f_id=f_id_dest)
|
||||||
where
|
where
|
||||||
ag_state not in (1,4)
|
ag_state not in (1,4)
|
||||||
and to_char(ag_remind_date,'DDMMYYYY')<=to_char(now()+interval '14 days','DDMMYYYY')
|
and to_char(ag_remind_date,'YYYYMMDD')<=to_char(now()+interval '14 days','YYYYMMDD')
|
||||||
and ". \Follow_Up::sql_security_filter($this->db,'R')
|
and ". \Follow_Up::sql_security_filter($this->db,'R')
|
||||||
." order by ag_remind_date asc";
|
." order by ag_remind_date asc";
|
||||||
$array=$this->db->get_array($sql);
|
$array=$this->db->get_array($sql);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue