Skip to content

Commit

Permalink
fix: set the query-time to 0 if none can be determined
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Apr 29, 2024
1 parent b3a9b32 commit 4b7cf32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/Search/SolrMoreLikeThis.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private function buildResult(
offset: 0,
results: $resourceList,
facetGroups: [],
queryTime: $result->getQueryTime() ?? -1
queryTime: $result->getQueryTime() ?? 0
);
}
}

0 comments on commit 4b7cf32

Please sign in to comment.