What the title says – other modules integrating with the Search API and its facet integration will probably be glad if they won't have to look up the right search themselves.
See also: #1213360-22: Move to Facet API.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drunken monkey’s picture

Status: Active » Needs review
FileSize
713 bytes

Patch attached.

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

:) Yes I tested this with my Search API ranges module. To get the query I do something like this
list($query, $results) = $this->facet->getAdapter()->getCurrentSearch();
Easier than before indeed.

drunken monkey’s picture

Status: Reviewed & tested by the community » Fixed

Great, committed.

Status: Fixed » Closed (fixed)

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