fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [9370] property: list project at loc1


From: Sigurd Nes
Subject: [Fmsystem-commits] [9370] property: list project at loc1
Date: Fri, 11 May 2012 10:15:24 +0000

Revision: 9370
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9370
Author:   sigurdne
Date:     2012-05-11 10:15:23 +0000 (Fri, 11 May 2012)
Log Message:
-----------
property: list project at loc1

Modified Paths:
--------------
    trunk/property/inc/class.bocommon.inc.php

Modified: trunk/property/inc/class.bocommon.inc.php
===================================================================
--- trunk/property/inc/class.bocommon.inc.php   2012-05-11 08:52:07 UTC (rev 
9369)
+++ trunk/property/inc/class.bocommon.inc.php   2012-05-11 10:15:23 UTC (rev 
9370)
@@ -1182,7 +1182,6 @@
                                        $type_id        = 
count($location_types);
                                }
                                $cols.= ",fm_location1.loc1_name";
-                               $this->join = $this->socommon->join;
                                $joinmethod .= " {$this->join}  fm_location1 ON 
($entity_table.loc1 = fm_location1.loc1))";
                                $paranthesis .='(';
                                $joinmethod .= " {$this->join}  fm_part_of_town 
ON (fm_location1.part_of_town_id = fm_part_of_town.part_of_town_id))";
@@ -1207,7 +1206,7 @@
                //              if($_level > 1) // very expensive 
                                if($_level == 2 && in_array(2, 
$list_location_level))
                                {
-                                       $joinmethod .= " {$this->join} 
fm_location{$_level}";
+                                       $joinmethod .= " {$this->left_join} 
fm_location{$_level}";
                                        $paranthesis .='(';
                                        $on = 'ON';
                                        for ($k=($_level-1); $k>0; $k--)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]