Bug : action_late show also action for today
This commit is contained in:
parent
09fd397d91
commit
5ed35c23a7
1 changed files with 1 additions and 1 deletions
|
|
@ -1117,7 +1117,7 @@ class Follow_Up
|
|||
$sql="select ag_ref,ag_hour,coalesce(vw_name,'Interne') as vw_name,ag_id,ag_title,ag_ref, dt_value,to_char(ag_remind_date,'DD.MM.YYYY') as ag_timestamp_fmt,ag_timestamp ".
|
||||
" from action_gestion join document_type ".
|
||||
" on (ag_type=dt_id) left join vw_fiche_attr on (f_id=f_id_dest) where ag_state not in (1,4)
|
||||
and ag_remind_date < now() and ".self::sql_security_filter($this->db,'R');
|
||||
and to_char(ag_remind_date,'YYMMDD') < to_char(now(),'YYMMDD') and ".self::sql_security_filter($this->db,'R');
|
||||
$array=$this->db->get_array($sql);
|
||||
return $array;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue