r111267 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111266‎ | r111267 | r111268 >
Date:22:04, 11 February 2012
Author:mkroetzsch
Status:deferred
Tags:
Comment:
fixed Bug 30284
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_ResultArray.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_ResultArray.php
@@ -127,7 +127,9 @@
128128 if ( $di === false ) {
129129 return false;
130130 }
131 - if ( $this->mPrintRequest->getMode() == SMWPrintRequest::PRINT_PROP ) {
 131+ if ( $this->mPrintRequest->getMode() == SMWPrintRequest::PRINT_PROP &&
 132+ ( $this->mPrintRequest->getTypeID() != '_rec' ||
 133+ $this->mPrintRequest->getParameter( 'index' ) === false ) ) {
132134 $diProperty = $this->mPrintRequest->getData()->getDataItem();
133135 } else {
134136 $diProperty = null;

Follow-up revisions

RevisionCommit summaryAuthorDate
r111268improved solution for finding the correct datavalue for record fields (Bug 30...mkroetzsch22:22, 11 February 2012