Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:studioespresso/craft-scout into …
Browse files Browse the repository at this point in the history
…develop
  • Loading branch information
janhenckens committed Aug 13, 2021
2 parents ad4da52 + fd90f8c commit 4fb83e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/ScoutUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static function contentHtml(): string
return [
'name' => $engine->scoutIndex->indexName,
'elementType' => $engine->scoutIndex->elementType,
'site' => $engine->scoutIndex->criteria->siteId === "*" ? 'all' : Craft::$app->getSites()->getSiteById($engine->scoutIndex->criteria->siteId),
'site' => $engine->scoutIndex->criteria->siteId === '*' ? 'all' : Craft::$app->getSites()->getSiteById($engine->scoutIndex->criteria->siteId),
'indexed' => $engine->getTotalRecords(),
'elements' => $engine->scoutIndex->criteria->count(),
];
Expand Down

0 comments on commit 4fb83e4

Please sign in to comment.