Question

When I create a new OG, I would like the user with the least number of OG subscriptions automatically to be added to this group. So I created a views block where I count and least the user with the least number of OG subscriptions. Under actions, there is an option named subscribe user to group. Is there a way for me to use the views result in data selector of this action? Otherwise, how would you tackle this issue.

Était-ce utile?

La solution

I created a sql query through the Views Rules module and it did the trick.

Licencié sous: CC-BY-SA avec attribution
Non affilié à drupal.stackexchange
scroll top