Index: trunk/extensions/SemanticMaps/GeoCoords/SM_GeoCoordsValue.php |
— | — | @@ -73,6 +73,8 @@ |
74 | 74 | * Parses the value into the coordinates and any meta data provided, such as distance. |
75 | 75 | */ |
76 | 76 | protected function parseUserValueOrQuery( $value, $asQuery = false ) { |
| 77 | + $this->mWikivalue = $value; |
| 78 | + |
77 | 79 | $comparator = SMW_CMP_EQ; |
78 | 80 | |
79 | 81 | if ( $value == '' ) { |
Index: trunk/extensions/SemanticMaps/GeoCoords/SM_GeoCoordsValueDescription.php |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | if ( $dataValue->getTypeID() != '_geo' |
64 | 64 | || !$dataValue->isValid() |
65 | 65 | || !$description instanceof SMGeoCoordsValueDescription |
66 | | - //|| ( $description->getComparator() != SMW_CMP_EQ && $description->getComparator() != SMW_CMP_NEQ ) |
| 66 | + || ( $description->getComparator() != SMW_CMP_EQ && $description->getComparator() != SMW_CMP_NEQ ) |
67 | 67 | ) return true; |
68 | 68 | |
69 | 69 | $coordinates = $dataValue->getCoordinateSet(); |