{{ users }} tag, specifically the group and role parametersQuery\Scopes\Filters\UserGroup and Query\Scopes\Filters\UserRole filters->where('group', $group) were changed to ->where("groups/$group", true) at some point.:: like we do everywhere else (ie. groups::handle)?roles array.Statamic version: 3.0.11
I too am experiencing major issues with the Antlers User Tag and the Eloquent Driver (on a fresh install of Statamic 3.0.16).
The example from the Statamic docs does not yield the expected "true" result:
https://statamic.dev/tags/user-in#example
// Broken
{{ user:in group="coaches" }}
…
{{ /user:in }}
// Works
{{ user }}
{{ if in_coaches }}
…
{{ /if}}
{{ /user }}
I had a dream a couple nights ago that @jackmcdade changed the "s" in groups to a letter "z" to to better align with the new website's radical 90's inspired design! Remember JIMMY'Z and the E-Z-In velcro?! Maybe some more ammo for the docs.
Unfortunately, {{ user:in groupz="jocks|geeks" }} doesn't work either.
And, yes, sometimes I have coding dreams.
😂
This issue has not had recent activity and has been marked as stale — by me, a robot. Simply reply to keep it open and send me away. If you do nothing, I will close it in a week. I have no feelings, so whatever you do is fine by me.
Hey robot, please keep this open. I don't think there's been any changes to role/group stuff since this issue was created so I doubt it's been fixed.
Most helpful comment
I had a dream a couple nights ago that @jackmcdade changed the "s" in groups to a letter "z" to to better align with the new website's radical 90's inspired design! Remember JIMMY'Z and the E-Z-In velcro?! Maybe some more ammo for the docs.
Unfortunately,
{{ user:in groupz="jocks|geeks" }}doesn't work either.And, yes, sometimes I have coding dreams.