Index: CHANGELOG.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/search_by_page/CHANGELOG.txt,v
retrieving revision 1.6
diff -u -r1.6 CHANGELOG.txt
--- CHANGELOG.txt	7 Apr 2010 21:50:34 -0000	1.6
+++ CHANGELOG.txt	21 May 2010 22:15:59 -0000
@@ -6,6 +6,8 @@
 
 Search by Page 7.x-1.x, xxxx-xx-xx
 ----------------------------------
+#806028 by jhodgdon: Fix breadcrumb on search results page.
+
 #674070 by jhodgdon: Drupal 7 changed how modules are installed. Fix SBP so it
 will still install.
 
Index: search_by_page.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/search_by_page/search_by_page.module,v
retrieving revision 1.8
diff -u -r1.8 search_by_page.module
--- search_by_page.module	7 Apr 2010 21:17:33 -0000	1.8
+++ search_by_page.module	21 May 2010 22:15:59 -0000
@@ -550,11 +550,12 @@
   $stuff = $query->limit(10)->execute();
 
   // Save global pager information and page title, because rendering
-  // can screw this up
+  // can screw this up.
   $title = drupal_get_title();
   $tmp_parray = $pager_page_array[0];
   $tmp_ptotal = $pager_total[0];
   $tmp_itotal = $pager_total_items[0];
+  $tmp_breadcrumb = drupal_get_breadcrumb();
 
   // Create array of formatted results for Search
 
@@ -602,6 +603,7 @@
   $pager_page_array[0] = $tmp_parray;
   $pager_total[0] = $tmp_ptotal;
   $pager_total_items[0] = $tmp_itotal;
+  drupal_set_breadcrumb($tmp_breadcrumb);
   drupal_static_reset('system_main_content_added');
   drupal_static_reset('drupal_set_page_content');
 
