Skip to content

Commit

Permalink
Set filter type to allow filterany to be added in overload
Browse files Browse the repository at this point in the history
  • Loading branch information
arambalakjian committed Feb 25, 2014
1 parent 9c0dff6 commit 520806b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/Pages/FilteredListingPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ public function getItemsWhere()
}
}

return $filter;
//Set the type of filter and return
return $filter ? array('filter' => $filter) : false;
}
}

Expand Down

0 comments on commit 520806b

Please sign in to comment.