http://www.mediawiki.org/wiki/Special:Code/MediaWiki/91956

Revision: 91956
Author:   jeroendedauw
Date:     2011-07-12 13:32:13 +0000 (Tue, 12 Jul 2011)
Log Message:
-----------
MFT r91954 r91955

Modified Paths:
--------------
    branches/SemanticMaps0.7.x/RELEASE-NOTES
    branches/SemanticMaps0.7.x/SemanticMaps.php
    branches/SemanticMaps0.7.x/includes/SM_AreaValueDescription.php

Modified: branches/SemanticMaps0.7.x/RELEASE-NOTES
===================================================================
--- branches/SemanticMaps0.7.x/RELEASE-NOTES    2011-07-12 13:31:43 UTC (rev 
91955)
+++ branches/SemanticMaps0.7.x/RELEASE-NOTES    2011-07-12 13:32:13 UTC (rev 
91956)
@@ -7,6 +7,10 @@
 
http://www.mediawiki.org/wiki/Extension:Semantic_Maps/Version_history#Semantic_Maps_change_log
 
 
+=== Semantic Maps 0.7.8 ===
+
+* Fixed PostGres support for distance queries.
+
 === Semantic Maps 0.7.7 ===
 (2011-06-15)
 

Modified: branches/SemanticMaps0.7.x/SemanticMaps.php
===================================================================
--- branches/SemanticMaps0.7.x/SemanticMaps.php 2011-07-12 13:31:43 UTC (rev 
91955)
+++ branches/SemanticMaps0.7.x/SemanticMaps.php 2011-07-12 13:32:13 UTC (rev 
91956)
@@ -40,7 +40,7 @@
        die( '<b>Error:</b> This version of Semantic Maps requires Semantic 
MediaWiki 1.5.x; use Semantic Maps 1.0 or above for SMW 1.6 or later.' );
 }
 
-define( 'SM_VERSION', '0.7.7' );
+define( 'SM_VERSION', '0.7.8 alpha' );
 
 $wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 
'other'][] = array(
        'path' => __FILE__,

Modified: branches/SemanticMaps0.7.x/includes/SM_AreaValueDescription.php
===================================================================
--- branches/SemanticMaps0.7.x/includes/SM_AreaValueDescription.php     
2011-07-12 13:31:43 UTC (rev 91955)
+++ branches/SemanticMaps0.7.x/includes/SM_AreaValueDescription.php     
2011-07-12 13:32:13 UTC (rev 91956)
@@ -146,7 +146,7 @@
                        
                        $smallerThen = $isEq ? '<' : '>=';
                        $biggerThen = $isEq ? '>' : '<=';
-                       $joinCond = $isEq ? '&&' : '||';
+                       $joinCond = $isEq ? 'AND' : 'OR';
                        
                        $conditions[] = "{$tableName}.$fieldNames[0] 
$smallerThen $north";
                        $conditions[] = "{$tableName}.$fieldNames[0] 
$biggerThen $south";


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to