diff --git a/include/class_follow_up.php b/include/class_follow_up.php index 80ea7a3fe..617ebf64d 100644 --- a/include/class_follow_up.php +++ b/include/class_follow_up.php @@ -676,7 +676,7 @@ class Follow_Up $table->add('Réf.',$url,'order by ag_ref asc','order by ag_ref desc','ra','rd'); $table->add('Groupe',$url,"order by coalesce((select p_name from profile where p_id=ag_dest),'Aucun groupe')", "order by coalesce((select p_name from profile where p_id=ag_dest),'Aucun groupe') desc",'dea','ded'); - $table->add('Expéditeur',$url,'order by name asc','order by name desc','ea','ed'); + $table->add('Dest/Exp',$url,'order by name asc','order by name desc','ea','ed'); $table->add('Titre',$url,'order by ag_title asc','order by ag_title desc','ta','td'); $table->add('Concerne',$url,'order by ag_ref_ag_id asc','order by ag_ref_ag_id desc','ca','cd'); @@ -695,7 +695,8 @@ class Follow_Up f_id_dest, ag_title,dt_value,ag_ref, ag_priority,ag_state, coalesce((select p_name from profile where p_id=ag_dest),'Aucun groupe') as dest, - (select ad_value from fiche_Detail where f_id=action_gestion.f_id_dest and ad_id=1) as name + (select ad_value from fiche_Detail where f_id=action_gestion.f_id_dest and ad_id=1) as name, + (select count(d_id) from document where document.ag_id=action_gestion.ag_id) as cnt_doc from action_gestion join document_type on (ag_type=dt_id) where $p_filter_doc $p_search $sort"; @@ -720,10 +721,11 @@ class Follow_Up $r.='