Merge pull request #2603 from open-sausages/pulls/4.6/fix-typo

BUG Fix parsing error on CMSSiteTreeFilter
This commit is contained in:
Maxime Rainville 2020-10-22 13:11:56 +13:00 committed by GitHub
commit 64c4a119b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,7 @@ abstract class CMSSiteTreeFilter implements LeftAndMain_SearchFilter
switch ($name) {
case 'Term':
$query = $query->filterAny(array(
$query = $query->filterAny([
'URLSegment:PartialMatch' => Convert::raw2url($val),
'Title:PartialMatch' => $val,
'MenuTitle:PartialMatch' => $val,