Skip to content

Commit

Permalink
Merge branch '4.8' into 4
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Feb 4, 2022
2 parents 87c3e36 + c5eecbf commit b129f60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
"enzyme-adapter-react-16": "^1.5.0",
"jest-cli": "^23.6.0"
},
"resolutions": {
"colors": "1.1.2"
},
"jest": {
"roots": [
"client/src"
Expand Down
2 changes: 1 addition & 1 deletion src/Controllers/ElementSiteTreeFilterSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected function applyDefaultFilters($query)

// Check whether the search term exists in the nested page content
$pageContent = $siteTree->getElementsForSearch();
return (bool) stripos($pageContent, $this->params['Term']) !== false;
return stripos($pageContent, $this->params['Term']) !== false;
});

if ($siteTrees->count()) {
Expand Down

0 comments on commit b129f60

Please sign in to comment.