diff --git a/src/Service/Search/SolrSearch.php b/src/Service/Search/SolrSearch.php index 2ff4007..fdb357e 100644 --- a/src/Service/Search/SolrSearch.php +++ b/src/Service/Search/SolrSearch.php @@ -121,6 +121,7 @@ private function addRequiredFieldListToSolrQuery( 'url', 'title', 'description', + 'id', 'sp_id', 'sp_objecttype', ]); @@ -265,7 +266,7 @@ private function buildResult( $facetGroupList = $this->buildFacetGroupList($query, $result); return new SearchResult( - total:$result->getNumFound() ?? 0, + total: $result->getNumFound() ?? 0, limit: $query->limit, offset: $query->offset, results: $resourceList,