diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-04-04 01:26:05 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-04-04 01:26:05 +0000 |
commit | 57be840338449fbb3df12292958e6647ff1f08ac (patch) | |
tree | c2ed383c844d063e376a866797ccff336fa19aa7 /modules | |
parent | 2128b4d67880663f75c0602c19732fa98ad0f25e (diff) | |
download | brdo-57be840338449fbb3df12292958e6647ff1f08ac.tar.gz brdo-57be840338449fbb3df12292958e6647ff1f08ac.tar.bz2 |
#57133: admin/comment needs to remember sort order in page
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment.module | 2 | ||||
-rw-r--r-- | modules/comment/comment.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module index 755eff9ad..4c566c923 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -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); } diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 755eff9ad..4c566c923 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -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); } |