r57758 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57757‎ | r57758 | r57759 >
Date:09:32, 15 October 2009
Author:mkroetzsch
Status:deferred
Tags:
Comment:
allow plain printout for category display as well
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_QueryResult.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_QueryResult.php
@@ -260,7 +260,7 @@
261261 break;
262262 case SMWPrintRequest::PRINT_CATS:
263263 if ( SMWResultArray::$catcacheobj != $this->m_result->getHash() ) {
264 - SMWResultArray::$catcache = $this->m_store->getPropertyValues($this->m_result,SMWPropertyValue::makeProperty('_INST'));
 264+ SMWResultArray::$catcache = $this->m_store->getPropertyValues($this->m_result,SMWPropertyValue::makeProperty('_INST'), NULL, $this->m_printrequest->getOutputFormat());
265265 SMWResultArray::$catcacheobj = $this->m_result->getHash();
266266 }
267267 $this->m_content = SMWResultArray::$catcache;

Status & tagging log