Index: apachesolr_search.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/apachesolr/apachesolr_search.module,v
retrieving revision 1.1.2.23
diff -u -r1.1.2.23 apachesolr_search.module
--- apachesolr_search.module	7 Apr 2009 10:34:50 -0000	1.1.2.23
+++ apachesolr_search.module	16 Jun 2009 18:53:08 -0000
@@ -92,6 +92,9 @@
         $page = isset($_GET['page']) ? $_GET['page'] : 0;
         $params['start'] = $page * $params['rows'];
         
+        $hash = md5(url(NULL, NULL, NULL, TRUE));
+        $query->add_field('hash', $hash);
+        
         /**
          * This hook allows modules to modify the query are params objects.
          *
@@ -134,9 +137,6 @@
           return array();
         }
 
-        $hash = md5(url(NULL, NULL, NULL, TRUE));
-        $query->add_field('hash', $hash);
-
         $response = $solr->search($query->get_query(), $params['start'], $params['rows'], $params);
         // The response is cached so that it is accessible to the blocks and anything
         // else that needs it beyond the initial search.
