Number is a filter, not page param

This commit is contained in:
Toby Zerner 2015-07-23 14:34:19 +09:30
parent 4817275f4e
commit 9b72a29607

View File

@ -78,7 +78,7 @@ class IndexAction extends SerializeCollectionAction
if ($discussionId = $request->get('filter.discussion')) {
$where['discussion_id'] = $discussionId;
}
if ($number = $request->get('page.number')) {
if ($number = $request->get('filter.number')) {
$where['number'] = $number;
}
if ($userId = $request->get('filter.user')) {