Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit group listings to subtype "default" #8571

Closed
mrclay opened this issue Jun 23, 2015 · 3 comments
Closed

Limit group listings to subtype "default" #8571

mrclay opened this issue Jun 23, 2015 · 3 comments

Comments

@mrclay
Copy link
Member

mrclay commented Jun 23, 2015

In practice this means adding 'subtype' => ELGG_ENTITIES_NO_VALUE, to the queries. This limits listings to groups created by the groups plugin.

I've made differently used "discussion" groups that use a custom subtype and I don't want these showing up in the main listings. The problem is, I can imagine a use case where devs do want those groups listed.

This is a case where hookable query options (#6256) would let us have either way.

@hypeJunction
Copy link
Contributor

That would be of great help. I think I have already made a few clones of the group plugin just to accomplish that.
This also applies to the users listings (members plugin)

@mrclay
Copy link
Member Author

mrclay commented Jun 23, 2015

We could add a plugin hook just for the group listing options.

@jdalsem
Copy link
Member

jdalsem commented Nov 14, 2017

Fixed as part of #11327

@jdalsem jdalsem closed this as completed Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants