# Finding Groups by Site Search

**URL:** https://meta.discourse.org/t/finding-groups-by-site-search/110114
**Category:** Feature
**Created:** [February 26, 2019, 11:28am UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114 "2019-02-26T11:28:11Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![kimardenmiller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kimardenmiller/32/119631_2.png) [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)
#### Post date: [February 26, 2019, 11:28am UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/1 "2019-02-26T11:28:11Z")

</div>

Our ratio of groups to members is high, so we’d love to be able to find a group off the main site search, e.g. if I wanted to find the Discourse Team, it does not come up:

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/9/0930e82f83acdf9bf8d76f66ecfb410c4f0a74d7.png)

Surprised that at least the group description text is not in the index. Nor do Groups support tags, correct?

Or am I missing something?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [February 26, 2019, 12:20pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/2 "2019-02-26T12:20:00Z")

</div>

If the group is NOT private you can already search for groups:

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/6/b670fecf4e800234ca1c84efe59284c2a4bc28fc.png)

and there is also a group page in the hamburger menu

---

<div class="post-metadata">

### Author: ![kimardenmiller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kimardenmiller/32/119631_2.png) [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)
#### Post date: [February 26, 2019, 2:45pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/3 "2019-02-26T14:45:11Z")

</div>

> [@dax](#):
>
> If the group is NOT private you can already search for groups:

Not Private in the sense that it’s visible?

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/f/2f86b2d915eb94a3b78038952f246a540993d87c.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/e/ce873122842b7846c3dbdf7e214ba4d1dc57702c.png)

> [@dax](#):
>
> and there is also a group page in the hamburger menu

We’re trying to train users to search for everything in one place.

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [February 26, 2019, 2:52pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/4 "2019-02-26T14:52:04Z")

</div>

The **Visibility** should be set to _Everyone_

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/2/02b48d0db048354bb7d982401ad58839a9450030.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 27, 2019, 1:29am UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/5 "2019-02-27T01:29:28Z")

</div>

I think the request is for this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/f/6f4cf0af68eca4be8c418d7a6a7876e5fe379e94.png)

We do have room here, having a dedicated section for groups below users there seems reasonable.

Does not solve the dedicated `/search` page problem though cause we would have to splinter off to `/g` and `/u` routes for those searches since we do not unify there.

@awesomerobot what are your thoughts here?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [February 27, 2019, 7:12pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/6 "2019-02-27T19:12:41Z")

</div>

Right, this part seems like a simple addition

 ![12%20PM](https://global.discourse-cdn.com/meta/original/3X/7/8/781a9232b60e94879cdec4d77cd157c58957035c.png)

It would be nice if we were consistent on the full `/search` page, minimally for the UI we could do something like this to duplicate the header search

 ![09%20PM](https://global.discourse-cdn.com/meta/original/3X/6/f/6f7ca3e3d6e25a7b98ce9fec8fe9c2a599ed3c40.jpeg)

Longer-term there are probably some advanced controls that could be applied specifically to users (maybe categories/tags too, but probably less useful)… so maybe we toggle search types? which would then swap out the advanced filters available.

 ![37%20PM](https://global.discourse-cdn.com/meta/original/3X/2/a/2a70640f04822db46efdb36bc24a8d5f895aba0c.png)  
 ![13%20PM](https://global.discourse-cdn.com/meta/original/3X/6/5/654524f0f0ee7761e6394acef25c40cb3fb7121b.png)  
 ![52%20PM](https://global.discourse-cdn.com/meta/original/3X/a/7/a795ddd3b0621694554f62361f75910fc1dac914.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 27, 2019, 7:56pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/7 "2019-02-27T19:56:23Z")

</div>

I like, I worry though that this prioritizes users/categories too much on full page

Maybe instead we can do these below the advanced search and make it collapsible, not sure

@j.jaffeux can you take this ?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [February 27, 2019, 8:14pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/9 "2019-02-27T20:14:52Z")

</div>

True, we should definitely limit the height — as mocked it’s about the height of one topic result and I don’t think it should be taller than that. I guess the only real situation where it would need to be taller anyway is if there are a _lot_ of category/tag matches (for many user matches it seems easy enough to link to a filtered user page?).

We don’t have a great way to handle many tags/categories in search (I guess maybe it should only show the most relevant 8 category/tag… but then what would we link to for `more...`?)

A 3-column layout would be possible too with some layout shifting (stacking might be best for smaller screens though)

 ![11%20PM](https://global.discourse-cdn.com/meta/original/3X/0/b/0bbcffbca6550c739b6d8a00a6f44b9ce911071d.jpeg)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 28, 2019, 5:56am UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/10 "2019-02-28T05:56:16Z")

</div>

> [@sam](#):
>
> worry though that this prioritizes users/categories too much on full page

Yeah I super dislike this. I figure the quick search is sufficient for things like that and it would just get in the way for advanced search when I am trying to really dig into stuff.

Honestly I feel users, categories, tags, groups has no place on the advanced search page. Maybe as an explicit opt in?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 28, 2019, 6:16am UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/11 "2019-02-28T06:16:32Z")

</div>

I think we should do an opt in here, cause on mobile it is awkward to have to go to 4 different spots for all your searching needs (groups page, users page, categories and search)

As an opt-in this would require one extra combo box flick (default to topics), but if you opt for the pain then we don’t need to go 3 columns, we can just do @awesomerobot’s original mockup and display users/categories/groups on top!

```plaintext
Search: <- combo box
   [Topics]
   [Users]
   [Groups]
   [Categories]
   [Everything] 

```

---

<div class="post-metadata">

### Author: ![kimardenmiller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kimardenmiller/32/119631_2.png) [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)
#### Post date: [March 1, 2019, 10:09pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/15 "2019-03-01T22:09:16Z")

</div>

Sorry for the delayed response; had to get the latest version installed to see that Group\>Interactions\>Visibility feature.

> [@codinghorror](#):
>
> I figure the quick search is sufficient

Agree, our users would not be digging around in the advanced search. We’d want to see groups come up off the search glass icon on the main header, which they are not even with the latest beta and group visibility turned on.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 4, 2019, 10:38pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/19 "2019-03-04T22:38:53Z")

</div>

This is now implemented thanks to @j.jaffeux 🎊

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/0/40598c92b061a07489a8938b15c62e74ee97c235.png)

@awesomerobot / @j.jaffeux I wonder though… should we move categories below groups ?

I think it is more “natural” to have them below groups. There is often logical coupling of groups and categories so having them close together is handy.

I also think even though it is a bit noisy separators between users / groups / categories make sense.

---

<div class="post-metadata">

### Author: ![kimardenmiller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kimardenmiller/32/119631_2.png) [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)
#### Post date: [March 5, 2019, 12:03am UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/20 "2019-03-05T00:03:20Z")

</div>

Awesome! Is there a setting to enable it? I’m pulling from beta, and I think have the latest with this commit:  
[https://github.com/discourse/discourse/commit/dc4001370ca83cb782026afc5a3b4e24ebd85cca](https://github.com/discourse/discourse/commit/dc4001370ca83cb782026afc5a3b4e24ebd85cca)  
But don’t see any groups coming up in the quick search, just tags and users.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 5, 2019, 12:34am UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/21 "2019-03-05T00:34:05Z")

</div>

> [@kimardenmiller](#):
>
> I’m pulling from beta

You are going to have to wait a week or so here, this is in tests-passed only.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [March 5, 2019, 1:44am UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/22 "2019-03-05T01:44:22Z")

</div>

Labels for those different sections (users, groups, topics, categories) would be a big help for new users.

---

<div class="post-metadata">

### Author: ![kimardenmiller](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kimardenmiller/32/119631_2.png) [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)
#### Post date: [March 5, 2019, 1:57pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/23 "2019-03-05T13:57:42Z")

</div>

> [@sam](#):
>
> this is in tests-passed

Having a look, it seems to search on Group _Name_, but not _Full Name_, which is not the logical search string for multi-word Group names. e.g. one cannot type _new owner_, but must type:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/2/a25d42a9fc1557910fc90a3f93888ed6c0e5b855.png)

I’ve wondered if _Group Name_ should really be called _Group Slug_, since that’s what it seems to be relative to the _Category Slug_: An important field, but not necessarily containing the name a human will use, i.e. search on.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [March 5, 2019, 2:05pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/24 "2019-03-05T14:05:34Z")

</div>

Agreed, will change it and other minor tweaks reported in this topic. Thanks.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [March 5, 2019, 4:27pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/25 "2019-03-05T16:27:12Z")

</div>

Ok most of it will be done in:

[https://github.com/discourse/discourse/pull/7114](https://github.com/discourse/discourse/pull/7114)

 ![47](https://global.discourse-cdn.com/meta/original/3X/a/1/a158779c0d3d6e40b8e8868e8e06db6d282c004f.png)

Will merge tomorrow morning.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [March 5, 2019, 4:50pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/26 "2019-03-05T16:50:44Z")

</div>

Seriously. Labels. I have no idea which “cat is cool” I’m supposed to click on, and I’m an admin.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [March 5, 2019, 4:52pm UTC](https://meta.discourse.org/t/finding-groups-by-site-search/110114/27 "2019-03-05T16:52:47Z")

</div>

It’s pretty clear to me as it’s using the same patterns you can find anywhere in the app, but I’m not opposed to it.

@awesomerobot what do you think ?

[Next page](https://meta.discourse.org/t/finding-groups-by-site-search/110114.md?page=2)
