mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUG Fix parsing error on CMSSiteTreeFilter
This commit is contained in:
parent
f4edd35989
commit
f9c26cefa3
@ -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