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

Listing users with a group filter isn't showing any results #7578

Closed
danielfowler opened this issue Feb 20, 2023 · 1 comment · Fixed by #6131
Closed

Listing users with a group filter isn't showing any results #7578

danielfowler opened this issue Feb 20, 2023 · 1 comment · Fixed by #6131

Comments

@danielfowler
Copy link

danielfowler commented Feb 20, 2023

Bug description

https://statamic.dev/tags/users#parameters This page says that there's a group parameter to filter a users list. But when I use it the tag pair returns no results even though I have 7 such users in the group.

My code:

{{ users group="team" }}
    {{ name | wrap:h2.font-bold }}
    {{ groups | list }}
{{ /users }}

How to reproduce

Use the group="foo|bar" parameter on a {{ users }} tag pair.

Logs

No response

Environment

Environment
Application Name: Precision Landscape Management LLC
Laravel Version: 9.52.0
PHP Version: 8.1.12
Composer Version: 2.5.2
Environment: local
Debug Mode: ENABLED
URL: precision.localhost
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Statamic
Addons: 3
Antlers: runtime
Stache Watcher: Enabled
Static Caching: Disabled
Version: 3.4.4 PRO

Statamic Addons
andrew-l/page-button: 1.0.0
swiftmade/statamic-clear-assets: 1.1.0
webographen/statamic-admin-log: 1.0.6

Installation

Starter Kit using via CLI

Antlers Parser

regex (default)

Additional details

No response

@ryanmitchell
Copy link
Contributor

Yeah it’s a known issue and this PR fixes it. Just waiting on it being reviewed.

#6131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants