Hi there,
I have a views content pane based off the default node search index placed inside a panel which is overriding taxonomy term pages. (hopefully haven't lost you with that sentence)
All is working fine, facets are working correctly etc... However I'm getting the below notice and thought just incase this was the one time I haven't done something incorrectly I should report it. Couldn't find anything previous mentions of it on the web.
I'm getting this notice...
Notice: Undefined property: SearchApiViewsQuery::$group_operator in SearchApiViewsQuery->build() (line 143 of C:\wamp\www\my-site\sites\all\modules\search_api\contrib\search_api_views\includes\query.inc).
Seems pretty straight forward the $this->group_operator isn't in existence, but I'm not sure whether my setup is wrong or it's something else.
Any info would be great thanks. Apologies if this ticket has been created in the wrong place.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1305736--declare-query::group_operator-2.patch | 629 bytes | drunken monkey |
Comments
Comment #1
damien tournoud commentedWe saw that too. It's because Search API is assuming that there is a $group_operator as soon as there is a $where, which is not true. A view with just an argument for example will not have a group operator.
Comment #2
drunken monkeyThanks for reporting! Does the attached patch help?
Comment #3
mh86 commentedEncountered the same notices and patch from #2 fixes the problem.
Comment #4
mh86 commentedComment #5
drunken monkeyGreat, committed.
Comment #6
Steven.Pescador commentedWorked for me to... Cheers for that Drunken Monkey.