I am having a problem with search and the recipe module. If I click on a recipe and have it displayed. The search will not function. I looked at the logs and none of the searchs I do are showing up there or as errors. If ou have a recipe displayed and you try to do a search then it wil not work. the search box just reload itself and the same page is displayed.

here is my url
http://www.aquaandbitters.com/

any help on this would be great.

Comments

tracerhand’s picture

I have the same issue! I had never noticed it before.

Yikes!

my site: http://www.howdidyoumakethat.com

mokargas’s picture

I tried a search on your site. Works great off the front page, but not the recipes as said.

When I look at the source for the search box, I see this (For the Alexander Baby recipe)

<form id="search-theme-form" method="post" accept-charset="UTF-8" action="/drink/alexander-baby">

The form's action is pointing back to the same page. I think it should be pointing to /search/node or something similar. How is the search form included in your template - do you modify it at all in your theme?

tracerhand’s picture

I don't think that's the issue, since the form action on the homepage just points at "/" (i.e. the home page).

cybermache’s picture

If action is forced to "/" then search works on recipe pages. I used firebug with Firefox to manually change the action address to "/" then without refreshing the page submitted a search. The search was successful with recipes showing up as well. Something I noticed not happening before.

stepneo’s picture

i'm dealing with the same issue where, when you're viewing a recipe, the search box doesn't work correctly. what file should i be looking for to apply the "/" ? i was unable to locate the code in the search.module file. thanks.

scottprive’s picture

Hi,

I tried this on your site and I get the same issue you report.

Do you have the ability to try this test on a brand new, plain-vanilla install of Drupal? Just install Recipe and FAQ.
Then add some test content (recipe, faq, and story or page).
Try the same searches from /recipe, /faq, and /

That is what I have done, and I can not reproduce this on any of my installs. I am running the stock Garland theme, and not a lot of modules (I don't have a real site, just a development system).

I don't know where this problem is coming from, but we should try to isolate this to a minimal "test install" scenario with as few changes from stock Drupal as possible.
I'm not seeing this here, so either it is interaction between modules or some kind of intermittent issue.