Using both 6.x-1.x-dev and 6.x-1.0-beta9, apachesolr does not render the currentsearch block properly. As far as I can tell, $search_keys is never getting set even though it's being passed as an argument to apachesolr_l() in line 503 of apachesolr_search.module.

For what it's worth, this is happening on an instance of Drupal 6.11 with the core searches patch installed.

CommentFileSizeAuthor
#2 current-search-keys-454608-2.patch837 bytespwolanin

Comments

anarchivist’s picture

Err, that should read 6.10, not 6.11.

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new837 bytes

Hmm, wonder how long that's been broken. Seems $search_keys is not set. This should fix it.

anarchivist’s picture

Status: Needs review » Active

I've also tested this on 6.10 without the core searches hack and am running into the same issue.

anarchivist’s picture

This patch works for me - thanks for getting on this so quickly!

pwolanin’s picture

Status: Active » Needs review
pwolanin’s picture

Status: Needs review » Fixed

committed to 6.x

pwolanin’s picture

Status: Fixed » Closed (fixed)