mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 12:05:56 +00:00
BUG getList() now returns the filtered DataList
In SilverStripe 3.1.x getList() was returning the unfiltered DataList and as a result all pages in the SiteTree were showing as having a reference to the given document.
This commit is contained in:
parent
ca9c84240a
commit
9802e05a13
@ -49,7 +49,7 @@ class ShortCodeRelationFinder {
|
||||
}
|
||||
}
|
||||
|
||||
$list->where(implode(' OR ',$where));
|
||||
$list = $list->where(implode(' OR ', $where));
|
||||
return $list;
|
||||
}
|
||||
|
||||
@ -78,4 +78,4 @@ class ShortCodeRelationFinder {
|
||||
return $fields;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user