# Search/Filter Flags by User

**URL:** https://meta.discourse.org/t/search-filter-flags-by-user/14649
**Category:** Feature
**Tags:** completed, review-queue
**Created:** [April 10, 2014, 2:26pm UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649 "2014-04-10T14:26:00Z")
**Posts on this page:** 14
**Page:** 1

<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: [April 10, 2014, 2:26pm UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/1 "2014-04-10T14:26:00Z")

</div>

We’ve been playing around with the moderating abilities in our test site and I’ve run into the issue where I want to see how many times a user’s posts has been flagged and what they were for (Inappropriate, Spam, Other).

However, there doesn’t seem to be a way to do this… am I missing something obvious or does this functionality not exist?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [April 10, 2014, 6:23pm UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/2 "2014-04-10T18:23:03Z")

</div>

I haven’t found an easy way.

On some hidden posts I see # people flagged this as spam - inappropriate but not always  
I don’t think unhidden posts show any flag count message.  
Going to the User Profile shows moderated posts but not why  
Admin → Flags shows all flags with the reason in the right side column, but for all users.

A way to Search / Sort / Filter would be a help

---

<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: [April 10, 2014, 7:53pm UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/3 "2014-04-10T19:53:07Z")

</div>

We need to add some counters on the user page for a few things:

- number of deleted (not by self posts)
- number of flags
- number of times suspended

 ![](https://global.discourse-cdn.com/meta/original/2X/0/0dfac2f684cb21ee07624ebc289fa83730326d1f.jpg) 

That @radq is a well known problem user for example.. clicking there on the numbers in the circles should drill in.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [April 10, 2014, 8:30pm UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/4 "2014-04-10T20:30:31Z")

</div>

How does this look?

 ![](https://global.discourse-cdn.com/meta/original/2X/5/508872af21cfbdc5a088a46eb2ca96956fb45713.png) 

```html
<section class="controls admin-history">
  <div class="span4"><span class="helpfulFlags bigText">33</span>/<span class="totalFlags">37</span> helpful flags</div>
  <div class="span4"><span class="flaggedPosts bigText">8</span> flagged posts</div>
  <div class="span4"><span class="deletedPosts bigText">2</span>&nbsp;suspensions</div>
</section>

```

```css

.bigText {
    font-size: 24px;
    border-radius: 999px;
    display: inline-block;
    height: 30px;
    width: 40px;
    text-align: center;
    vertical-align: super;
    padding-top: 10px;
}
.flaggedPosts {
    background-color: #e45735;
}
.deletedPosts {
    background-color: rgb(194, 32, 32);
}
.helpfulFlags {
    background-color: green;
}
.totalFlags {
    font-weight: bold;
}
.user-main .controls.admin-history {
    padding-bottom: 30px;
    padding-top: 0;
    color: white;
}

```

---

<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: [April 10, 2014, 8:51pm UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/5 "2014-04-10T20:51:49Z")

</div>

I like it, but it should be superimposed over the background, e.g. move those up to the top left as pictured.

You can use text with a black shadow to get it to appear over any background.

---

<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: [April 10, 2014, 11:10pm UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/6 "2014-04-10T23:10:07Z")

</div>

That is a step in the right direction, but I still would like a way to review those flags, as when I see another one of their troubled posts, it’d be nice to review their past flags to determine if a suspension is in order.

---

<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: [April 11, 2014, 1:40am UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/7 "2014-04-11T01:40:30Z")

</div>

Right you would click on those numbers to drill into them.

---

<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: [April 11, 2014, 11:54am UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/8 "2014-04-11T11:54:31Z")

</div>

> [@codinghorror](#):
>
> Right you would click on those numbers to drill into them.

Is there any way we can still get sorting/searching in the Admin \> Flags area too? Really, searching is more important to me than sorting (so long as they are already sorted by date descending

---

<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: [December 10, 2024, 7:17am UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/9 "2024-12-10T07:17:03Z")

</div>

OMG … well this only took ~~10~~ 11 years!

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

---

<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: [December 10, 2024, 8:13am UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/14 "2024-12-10T08:13:29Z")

</div>

> [@cpradio](#):
>
> I want to see how many times a user’s posts has been flagged and what they were for (Inappropriate, Spam, Other).

I think it took less than 11 years. 🙂

> [@Any way to view list of user's past submitted flags?](https://meta.discourse.org/t/any-way-to-view-list-of-users-past-submitted-flags/86938/6):
>
> This feature has existed for quite a while: From the /review page you can select “User”. Additionally admins and mods have this linked from the user summary page.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [December 10, 2024, 2:25pm UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/15 "2024-12-10T14:25:48Z")

</div>

_I feel so much nostalgia for the usernames I am reading in this old topic.. all people I used to engage with back in the day when Discourse was still new. 🥰_

@moin that’s true - the OP here is about the “User” filter which has existed for a while now, to see all flagged items for a particular user.

Sam has now added a new “Flagged by” filter which finally lets us see all items flagged by a particular user. We’ve never had that before but it will be very useful!

We also have a “Reviewd by” filter which would be the moderator who handled the flag.

Should we rename the “User” filter to “Flagged user” to distinguish between them better?

> [@riking](#):
>
> ![Pasted image](https://global.discourse-cdn.com/meta/original/2X/5/508872af21cfbdc5a088a46eb2ca96956fb45713.png)

I remember these circles! I guess they were removed at some point because of the noise they created on user profiles. But having some way to get to the “User” and “Flagged by” filter would be helpful.

---

<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: [December 10, 2024, 2:36pm UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/17 "2024-12-10T14:36:12Z")

</div>

> [@tobiaseigen](#):
>
> I remember these circles! I guess they were removed at some point because of the noise they created on user profiles.

If you didn’t remove them in the past 4 days, they are still there 🙂

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

There is also a #Documentation topic about them: [Understanding "helpful flags" on user profiles](https://meta.discourse.org/t/understanding-helpful-flags-on-user-profiles/25385)

It would be great if “helpful flags” would link to the review queue filtered by all the posts the user flagged.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [December 10, 2024, 2:42pm UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/18 "2024-12-10T14:42:30Z")

</div>

Oh, cool! I missed that when I just looked. I always forget to expand my user profile to see more.

> [@Moin](#):
>
> It would be great if “helpful flags” would link to the review queue filtered by all the posts the user flagged.

I agree and was about to say the same thing. I created a #Contribute > Feature topic: [Review queue: link "helpful flags" to new "Flagged by" filter](https://meta.discourse.org/t/link-helpful-flags-to-new-flagged-by-filter-in-the-review-queue/341613)

---

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [December 12, 2024, 7:20am UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649/19 "2024-12-12T07:20:23Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
