After entering multiple searches into the toolbar, the url path after three searches shows: domain.com/search/node/search/node/search/node/test . This of course doesn't work. Not sure if this was an issue in previous versions, but it is showing up on my recently upgraded 2.12 install.

Comments

mpotter’s picture

Looks like a regression from issue #2145219: Search Always Redirects to the Root Url.

Can anybody suggest a proper fix? I'm tempted to revert the above commit so at least search works better for people with a normal hosted url.

dsnopek’s picture

So, I don't know the EXACT fix, but it would involve the Drupal.settings.basePath variable in Javascript. I think that should be / on a site at the top-level, and /subdir/ when in a sub-directory, but someone will definitely need to test it.

cgove’s picture

pjbarry21’s picture

I have this problem, too.

I'm also having an issue when I select "users" as the type of item to search -- WSOD and an error:

Fatal error: Call to undefined method SearchApiViewsQuery::add_field() in /home/example/public_html/example.com/profiles/openatrium/modules/contrib/views/plugins/views_plugin_row.inc on line 116

May be unrelated, but thought I'd mention it in case anyone else is seeing it (I have a few apps I need to check to see if they're part of the problem and didn't want to open a ticket till I check those).

mpotter’s picture

Status: Active » Closed (duplicate)

Closing this as a dup of #2145219: Search Always Redirects to the Root Url where the actual patch is located.