Facet blocks are by definition only shown on the page where the search is active. A known workaround is to add a facet block (with views) and to hide the block within those facet block's settings. This triggers the search and the normal facet api block are shown.

Other facets (like links), are then forwarding to the search page. This search api ranges however remains on the current page which is unwanted behaviour.

E.g.: A search page with facetted search. Of those facets, put a few on the homepage to provide quick searches. When putting the search api ranges on the homepage, the search is redirected to the homepage instead of the search page.

Comments

Anonymous’s picture

I understand what you mean, if someone has a patch I will apply it.

brechtvdv’s picture

Status: Active » Needs review
StatusFileSize
new1.46 KB

It is possible to retrieve the path from the facet adapter. A patch is included.

Anonymous’s picture

Version: 7.x-1.3 » 7.x-1.x-dev
Status: Needs review » Fixed

Ok, I'm fine with this. I applied the patch to dev-x.
http://drupalcode.org/project/search_api_ranges.git/commit/25ca6d7

Status: Fixed » Closed (fixed)

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

matthijs’s picture

Issue summary: View changes
Status: Closed (fixed) » Patch (to be ported)
StatusFileSize
new1.25 KB

The same issue exists for the range links widget. I've attached an extra patch (it should be used in combination with the patch in #2) to fix the issue for that widget.

Anonymous’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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