From 9d71aaddc2c02d16cd90bfc84fe4f8a1092f5b13 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Thu, 22 Dec 2011 09:59:28 +0000 Subject: [PATCH] Bug : document display twice if there 2 kind of the type of document --- include/class_follow_up.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/class_follow_up.php b/include/class_follow_up.php index 8a14b4fc6..8ac2045dd 100644 --- a/include/class_follow_up.php +++ b/include/class_follow_up.php @@ -679,10 +679,9 @@ class Follow_Up $sql=" select ag_id,to_char(ag_timestamp,'DD.MM.YYYY') as my_date,ag_ref_ag_id,f_id_dest". - ",ag_title,md_type,dt_value,ag_ref, ag_priority,ag_state, + ",ag_title,dt_value,ag_ref, ag_priority,ag_state, (select ad_value from fiche_Detail where f_id=action_gestion.f_id_dest and ad_id=1) as name from action_gestion - left outer join document_modele on (ag_type=md_type) join document_type on (ag_type=dt_id) where $p_filter_doc $p_search $sort"; $max_line=$this->db->count_sql($sql);