From 21344b32c6b1424d362aa0ee7be5083e22827ff3 Mon Sep 17 00:00:00 2001 From: Bertrand Gorge Date: Fri, 30 Apr 2021 10:08:18 +0200 Subject: [PATCH] Fixed issue #6 --- includes/WfExploreCore.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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,