Commit 57be8403 authored by Steven Wittens's avatar Steven Wittens

#57133: admin/comment needs to remember sort order in page

parent 2128b4d6
......@@ -975,7 +975,7 @@ function comment_admin_overview($type = 'new') {
$form['operations'][$comment->cid] = array('#value' => l(t('edit'), 'comment/edit/'. $comment->cid, array(), $destination));
}
$form['comments'] = array('#type' => 'checkboxes', '#options' => $comments);
$form['pager'] = array('#value' => theme('pager', NULL, 50, 0));
$form['pager'] = array('#value' => theme('pager', NULL, 50, 0, tablesort_pager()));
return drupal_get_form('comment_admin_overview', $form);
}
......
......@@ -975,7 +975,7 @@ function comment_admin_overview($type = 'new') {
$form['operations'][$comment->cid] = array('#value' => l(t('edit'), 'comment/edit/'. $comment->cid, array(), $destination));
}
$form['comments'] = array('#type' => 'checkboxes', '#options' => $comments);
$form['pager'] = array('#value' => theme('pager', NULL, 50, 0));
$form['pager'] = array('#value' => theme('pager', NULL, 50, 0, tablesort_pager()));
return drupal_get_form('comment_admin_overview', $form);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment