diff --git a/includes/WfExploreCore.php b/includes/WfExploreCore.php index aa0ad73..052a8ec 100644 --- a/includes/WfExploreCore.php +++ b/includes/WfExploreCore.php @@ -847,7 +847,9 @@ private function processSemanticQuery($rawQuery, $limit = 20, $offset = 0, $sort $rawQueryArray['sort'] = $wfeSortField; $rawQueryArray['order'] = $order; } - SMWQueryProcessor::processFunctionParams( $rawQueryArray, $queryString, $processedParams, $printouts ); + + list( $queryString, $processedParams, $printouts ) = SMWQueryProcessor::getComponentsFromFunctionParams( $rawQueryArray, false ); + SMWQueryProcessor::addThisPrintout( $printouts, $processedParams ); $processedParams = SMWQueryProcessor::getProcessedParams( $processedParams, $printouts ); $queryCount = SMWQueryProcessor::createQuery( $queryString,