The OpenSearch description XML will always have the path 'opensearch/[module]' and an actual search XML will have 'opensearch/[module]/[search-terms]' so we should just make these two separate callbacks, one leading to opensearch_view that just handles the search results, and the other to opensearch_description which only handles the description XML.

Comments

dave reid’s picture

Status: Active » Fixed

Committed this to CVS along with removing the checks to see if the hook_search returns a name since core search.module seems to indicate there is a required return value for hook_search('name') and doesn't run any special checks.
http://drupal.org/cvs?commit=306396

Status: Fixed » Closed (fixed)

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