Merge pull request #4420 from spekulatius/adjustment-addFilter

harden addFilter method
This commit is contained in:
Damian Mooyman 2015-07-27 08:34:42 +12:00
commit a246391238

View File

@ -372,6 +372,8 @@ class DataList extends ViewableData implements SS_List, SS_Filterable, SS_Sortab
/**
* Return a new instance of the list with an added filter
*
* @param array $filterArray
*/
public function addFilter($filterArray) {
$list = $this;