Index: trunk/extensions/SemanticCompoundQueries/SCQ_QueryProcessor.php |
— | — | @@ -66,7 +66,9 @@ |
67 | 67 | $query_result = new SCQQueryResult( $next_result->getPrintRequests(), new SMWQuery(), $results, smwfGetStore() ); |
68 | 68 | |
69 | 69 | if ( version_compare( SMW_VERSION, '1.6.1', '>' ) ) { |
70 | | - $other_params = parent::getProcessedParams( $other_params, $next_result->getPrintRequests() ); |
| 70 | + $printeouts = $next_result->getPrintRequests(); |
| 71 | + SMWQueryProcessor::addThisPrinteout( $printeouts, $other_params ); |
| 72 | + $other_params = parent::getProcessedParams( $other_params, $printeouts ); |
71 | 73 | } |
72 | 74 | |
73 | 75 | return self::getResultFromQueryResult( |
— | — | @@ -179,6 +181,7 @@ |
180 | 182 | wfProfileIn( 'SCQQueryProcessor::getQueryResultFromQueryString' ); |
181 | 183 | |
182 | 184 | if ( version_compare( SMW_VERSION, '1.6.1', '>' ) ) { |
| 185 | + SMWQueryProcessor::addThisPrinteout( $extraprintouts, $params ); |
183 | 186 | $params = self::getProcessedParams( $params, $extraprintouts, false ); |
184 | 187 | } |
185 | 188 | |