r53138 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53137‎ | r53138 | r53139 >
Date:18:11, 12 July 2009
Author:vrandezo
Status:deferred
Tags:
Comment:
Resolved bug 17244, allowing whitespace between commas in facets
Modified paths:
  • /trunk/extensions/SemanticResultFormats/Exhibit/SRF_Exhibit.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticResultFormats/Exhibit/SRF_Exhibit.php
@@ -103,6 +103,7 @@
104104 if(array_key_exists($param, $this->m_params)) $facparams[] = 'ex:'.$param.'="'.$this->encodePropertyName($this->m_params[$param]).'" ';
105105 }
106106 foreach( $facets as $facet ) {
 107+ $facet = trim($facet);
107108 $fieldcounter=0;
108109 foreach ($res->getPrintRequests() as $pr){
109110 if($this->encodePropertyName($pr->getLabel()) == $this->encodePropertyName($facet)){

Status & tagging log