I am using the combination of Search API (7.x-1.3), the accompanying Search facets module, and Facet API (7.x-1.2).

I have set up a very simple search page with a URL '/search'.

All seems OK in terms of providing the facets but I can't blocks and if I actually enter a typical facet API URL to filter (for example searching for the word 'lorem' and a particular Taxonomy term) …

/search/lorem?f[0]=field_category%3A2

… then the facet bock reflects the filtering just fine and the correct results are returned.

HOWEVER, the actual links in the facet API blocks are not correct.

In the above example, I am seeing…

/search?f[0]=field_category%3A2

instead of what it should be i.e. including the missing the '/lorem' part (shown in bold)…

/search/lorem?f[0]=field_category%3A2

And consequently when I click a facet, I get no results at all.

This seems like rather a basic problem to me which in turn leads me to believe that I have done something amiss in my setup but I can't spot it.

Thank you

Comments

Daniel Ferreira Jorge’s picture

same here

azin’s picture

Ditto

azin’s picture

This solved it for me: http://drupal.org/node/1817360

cpliakas’s picture

Status: Active » Closed (duplicate)

Thanks for the cross-link, azin. Given that information, marking this as a dup of the Search API bug at #1817360: search facets link to wrong URL.

Chris