# Advanced search: posts from members of a group

**URL:** https://meta.discourse.org/t/advanced-search-posts-from-members-of-a-group/58716
**Category:** Feature
**Created:** [9 במרץ,‏ 2017,‏ 11:10am UTC](https://meta.discourse.org/t/advanced-search-posts-from-members-of-a-group/58716 "2017-03-09T11:10:28Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [9 במרץ,‏ 2017,‏ 11:10am UTC](https://meta.discourse.org/t/advanced-search-posts-from-members-of-a-group/58716/1 "2017-03-09T11:10:28Z")

</div>

The [seen/unseen](https://meta.discourse.org/t/advanced-search-posts-that-i-have-seen/57966/12) filter is great.

Would it be a great deal of work to include a groups filter? It wouldn’t need any UX real estate, it could just be a part of “Posted by”.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [9 במרץ,‏ 2017,‏ 11:13am UTC](https://meta.discourse.org/t/advanced-search-posts-from-members-of-a-group/58716/2 "2017-03-09T11:13:02Z")

</div>

it technically exists, just “power” setting. Using `group:<name>` or `group:<id>`

> <https://github.com/discourse/discourse/blob/main/lib/search.rb#L405-L412>

---

<div class="post-metadata">

### Author: ![JagWaugh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagwaugh/32/69335_2.png) [@JagWaugh](https://meta.discourse.org/u/JagWaugh)
#### Post date: [9 במרץ,‏ 2017,‏ 11:18am UTC](https://meta.discourse.org/t/advanced-search-posts-from-members-of-a-group/58716/3 "2017-03-09T11:18:50Z")

</div>

I rarely ever use smilies, or the word “awesome”, but:

😮 Awesome!

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [6 בפברואר,‏ 2022,‏ 1:57pm UTC](https://meta.discourse.org/t/advanced-search-posts-from-members-of-a-group/58716/6 "2022-02-06T13:57:53Z")

</div>

I guess this wouldn’t be useful enough to be integrated into the advanced search interface?

My recent use cases:

1. I was looking for particular information from a Discourse staff member, but I couldn’t remember who. Filter messages from this group of users have helped.

2. On my forum, I have a group in which I put business professionals. It can be useful to quickly have an overview of all their messages (as they write official information), regardless of any brand/manufacturer/seller in particular, etc without having to look at their individual message. Plus, they often work together, so the information is not always scattered between these different entities.

> **[Unicycle business](https://unicyclist.com/g/Unicycle_Business)**
>
> Users working in the unicycling industry: brands, shop owners, manufacturers, etc. 
> You can reach them from here for official information or other inquiries.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [9 במאי,‏ 2023,‏ 10:14am UTC](https://meta.discourse.org/t/advanced-search-posts-from-members-of-a-group/58716/7 "2023-05-09T10:14:41Z")

</div>

I think have it available as an advanced search filter would be a great addition, because this is not as intuitive as other search filter.  
I can mention a category in a post using `#categoryname` and search for a post in that category by adding `#categoryname`. I can mention a tag in a post using `#tagname` and search with `#tagname`.  
I can mention a user in a post using `@username` and filter the search results with `@username`. Mentioning a group in a post works with `@groupname` but searching for it does not work with `@groupname`. There you have to use `group:groupname`.
