Closed (outdated)
Project:
Search API
Version:
7.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2012 at 19:28 UTC
Updated:
10 Jan 2019 at 08:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dasjomy solution was to add a
hook_search_api_views_pre_executewhich allows to access both the view and the query object before execution.here's a link to an example usage: http://drupalcode.org/project/geocluster.git/blob/549475e310608af45c289a...
of course i'd be happy to know if there where other possibilities to pass that data. one might be subclassing
SearchApiViewsQuerybut i didn't want to do that for just the three lines of code.Comment #2
legolasboThis issue has not seen activity in over 2,5 years. I am therefore closing this issue to clean up the issue queue. Feel free to re-open and update this issue if you feel this issue is still relevant and of importance.