First of all thanks for this great module.

I encountered the warning message below when I tried to add an og_member_count field to an Apache Solr view.

warning: Missing argument 2 for apachesolr_views_query::ensure_table(), called in [...]/sites/all/modules/og/modules/og_views/includes/og_views_handler_field_og_member_count.inc on line 4 and defined in [...]/sites/all/modules/apachesolr_views/apachesolr_views_query.inc on line 447.

It seems like apachesolr_views_query::ensure_table() requires a $relationship parameter, the attached patch makes this optional.

CommentFileSizeAuthor
og_member_count.patch806 byteslarskleiner

Comments

Scott Reynolds’s picture

Status: Active » Needs work

Ahh your right. It should have three arguments

function ensure_table($table, $relationship = NULL, $join = NULL)
BeaPower’s picture

I am having this problem, any update on the patch?

lucasvm’s picture

Im getting the same, any ideas?