r113248 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113247‎ | r113248 | r113249 >
Date:17:06, 7 March 2012
Author:foxtrott
Status:deferred
Tags:
Comment:
bugfix (filter includes results with empty printouts)
Modified paths:
  • /trunk/extensions/SemanticResultFormats/Filtered/libs/ext.srf.filtered.value-filter.js (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticResultFormats/Filtered/libs/ext.srf.filtered.value-filter.js
@@ -47,7 +47,7 @@
4848 });
4949 }
5050 } else {
51 - var selected = true;
 51+ var selected = ( printoutValues.length > 0 );
5252
5353 for ( var j in printoutValues ) {
5454