Fallback on $_REQUEST['q'], if $_REQUEST['destination'] is not set

dkruglyak - June 2, 2009 - 12:18
Project:Search 404
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

While evaluating the module I found that no search results appear. Further investigation showed that (for whatever reason), the module never sees $_REQUEST['destination'], though $_REQUEST['q'] can be used to get the keywords just as well. So I put together this trivial one-line fix - which was tested and works great.

AttachmentSize
search404.patch731 bytes

#1

noelbush - June 4, 2009 - 09:51

Yes, this patch is necessary for me to get any use at all out of the module. Recommend you integrate it and release!

#2

zyxware - June 15, 2009 - 08:31
Status:reviewed & tested by the community» fixed

Hi dkruglyak

We have implemented the patch you provided in the latest dev.

Do let us know if things are working out fine

Once again thank you for the patch

Regards
Zyxware

#3

System Message - June 29, 2009 - 08:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.