r66484 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66483‎ | r66484 | r66485 >
Date:17:58, 15 May 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Changes for 1.5.1 - now passing an array of field names to getSQLCondition hooks.
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2_Queries.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2_Queries.php
@@ -714,7 +714,7 @@
715715
716716 // See if the getSQLCondition method exists and call it if this is the case.
717717 if ( method_exists( $description, 'getSQLCondition' ) ) {
718 - $customSQL = $description->getSQLCondition( $query->alias, $this->m_dbs );
 718+ $customSQL = $description->getSQLCondition( $query->alias, array_keys( $proptable->objectfields ), $this->m_dbs );
719719 }
720720
721721 if ( $customSQL ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r66485Follow up to r66484jeroendedauw17:59, 15 May 2010

Status & tagging log