Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php |
— | — | @@ -310,7 +310,7 @@ |
311 | 311 | } |
312 | 312 | |
313 | 313 | if ( !$issubject ) { // Needed to apply sorting/string matching in query; only with fixed property. |
314 | | - list( $sig, $valueIndex, $labelIndex ) = self::getTypeSignature( $object->getPropertyTypeID() ); |
| 314 | + list( $sig, $valueIndex, $labelIndex ) = self::getTypeSignature( $object->findPropertyTypeID() ); |
315 | 315 | $valuecolumn = ( array_key_exists( $valueIndex, $selectvalues ) ) ? $selectvalues[$valueIndex] : ''; |
316 | 316 | $labelcolumn = ( array_key_exists( $labelIndex, $selectvalues ) ) ? $selectvalues[$labelIndex] : ''; |
317 | 317 | $where .= $this->getSQLConditions( $requestoptions, $valuecolumn, $labelcolumn, $where != '' ); |