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:
Ryan Wachtl 2013-03-08 21:27:18 -06:00
parent ca9c84240a
commit 9802e05a13

View File

@ -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;
}
}
}