selection within user group

I'd use a join element, joining to your main J! xxx_users table, with a WHERE filter of something like:

Code:
WHERE {thistable}.id IN (SELECT user_id FROM xxx_user_usergroup_map WHERE group_id = 8);

Replace 8 with the numeric ID of the group you need. Replace xxx with your database prefix.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top