? SolrPhpClient
Index: apachesolr.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr.module,v
retrieving revision 1.1.2.12.2.155.2.8
diff -u -p -r1.1.2.12.2.155.2.8 apachesolr.module
--- apachesolr.module	13 Aug 2009 15:54:00 -0000	1.1.2.12.2.155.2.8
+++ apachesolr.module	14 Aug 2009 16:13:32 -0000
@@ -1409,7 +1409,8 @@ function apachesolr_l($text, $path, $opt
   }
 
   // Retain GET parameters that ApacheSolr knows nothing about.
-  $get = array_diff_key($_GET, array('q' => 1, 'page' => 1, 'filters' => 1, 'solrsort' => 1, 'retain-filters' => 1));
+  $query = apachesolr_current_query();
+  $get = array_diff_key($_GET, array('q' => 1, 'page' => 1), $options['query'], $query->get_url_queryvalues());
   $options['query'] += $get;
 
   return '<a href="'. check_url(url($path, $options)) .'"'. drupal_attributes($options['attributes']) .'>'. ($options['html'] ? $text : check_plain($text)) .'</a>';
