Author: danydb
Date: 2011-12-22 10:59:28 +0100 (Thu, 22 Dec 2011)
New Revision: 4652

Modified:
   phpcompta/trunk/include/class_follow_up.php
Log:
Bug : document display twice if there 2 kind of the type of document

Modified: phpcompta/trunk/include/class_follow_up.php
===================================================================
--- phpcompta/trunk/include/class_follow_up.php 2011-12-21 23:28:46 UTC (rev 
4651)
+++ phpcompta/trunk/include/class_follow_up.php 2011-12-22 09:59:28 UTC (rev 
4652)
@@ -679,10 +679,9 @@
 
         $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);


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to