@@ 245-248 (lines=4) @@ | ||
242 | $right=$this->compile_tree($node["right"]); |
|
243 | if ($left) { |
|
244 | $result=" $left , $right ".$node["type"]." "; |
|
245 | if($node["left"]['id'] == 'property' && !$node["right"]['nls']){ |
|
246 | $lefttablefield = $this->tbl_prefix.$node["left"]['table'].".".$node["left"]['field']; |
|
247 | $this->select_list[$lefttablefield] = $lefttablefield; |
|
248 | } |
|
249 | } else { |
|
250 | $result=" $right ".$node["type"]." "; |
|
251 | } |
|
@@ 252-255 (lines=4) @@ | ||
249 | } else { |
|
250 | $result=" $right ".$node["type"]." "; |
|
251 | } |
|
252 | if($node["right"]['id'] == 'property' && !$node["right"]['nls']){ |
|
253 | $righttablefield = $this->tbl_prefix.$node["right"]['table'].".".$node["right"]['field']; |
|
254 | $this->select_list[$righttablefield] = $righttablefield; |
|
255 | } |
|
256 | } else { |
|
257 | $result = ""; |
|
258 | if ($left) { |
|
@@ 260-263 (lines=4) @@ | ||
257 | $result = ""; |
|
258 | if ($left) { |
|
259 | $result = " $left "; |
|
260 | if($node["left"]['id'] == 'property' && !$node["right"]['nls']){ |
|
261 | $lefttablefield = $this->tbl_prefix.$node["left"]['table'].".".$node["left"]['field']; |
|
262 | $this->select_list[$lefttablefield] = $lefttablefield; |
|
263 | } |
|
264 | } |
|
265 | $this->skipDefaultOrderBy = true; |
|
266 | } |