? 140984.patch
Index: views_alpha_pager.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_alpha_pager/views_alpha_pager.module,v
retrieving revision 1.5.2.18
diff -u -u -p -r1.5.2.18 views_alpha_pager.module
--- views_alpha_pager.module	28 Apr 2007 12:22:37 -0000	1.5.2.18
+++ views_alpha_pager.module	4 May 2007 11:45:04 -0000
@@ -186,7 +186,7 @@ function views_alpha_pager_views_query_a
   $query->orderby = array_merge(array($myfield), $query->orderby);
 
   // save the pager so we can add it to the top and bottom easily
-  $view->alpha_pager_output = theme('alpha_pager', $items, $apage);
+  $view->alpha_pager_output = theme('alpha_pager', $items, $apage, $_GET['q'], drupal_query_string_encode($_GET, array('q', 'apage')));
 }
 
 function _views_alpha_pager_build_query(&$view) {
@@ -263,12 +263,6 @@ function theme_alpha_pager($items, $curr
 }
 
 function theme_alpha_pager_link($item, $item_display, $attributes = array(), $path = '', $query = '') {
-  if ($path == '') {
-    $path = $_GET['q'];
-  }
-  if ($query == '') {
-    $query = drupal_query_string_encode($_GET, array('q', 'apage'));
-  }
   if ($query != '') {
     $query .= '&';
   }
