mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #2603 from open-sausages/pulls/4.6/fix-typo
BUG Fix parsing error on CMSSiteTreeFilter
This commit is contained in:
commit
64c4a119b7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user