How to list content that is not flagged
Last updated on
30 April 2025
Flags are usually used for marking content the user is interested in.
But sometimes the opposite is true: the user is flagging content she isn't interested in. For example, content she thinks is spam, offensive, or otherwise doesn't worth her time.
Another example: If the user is a moderator, she'd like to see content which isn't flagged, say, as "Reviewed", so she could review it.
For these cases we would like to show in our view only content which is not flagged. The "recipe" for doing this involves two steps:
- We start, as usual, by adding the flag relationship. The only difference is that now we uncheck the "Include only flagged content" checkbox. This will make our view list all content: whether flagged or not.
- We add the Flags: Flagged filter. We ask it to filter out flagged content. (In other words, in its settings form, under Status, we select Not flagged.)
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion