groupby and multiple taxonomies? #6070
stephenmeehanuk
started this conversation in
General
Replies: 2 comments 3 replies
-
Looking over the docs again, I was hoping this would work... but no joy?
Any pointers would be appreciated. laravel.log shows this error
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Can |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Is it possible to use the new
groupby
operator to group entries by multiple categories? Or is there another way to do this?I've got a
divisions
taxonomy, located atresources/views/divisions/show.antlers.html
I'm using this to output the entires from a
products
collection, when viewing a division term:This is an example entry from the product collection:
This entry has another taxonomy, called
p1
, other entries in this products collection have multiple taxonomies,p1
,p2
,p3
andp4
.I'm trying to list the entries based on the
divisions
taxonomy and then list/group the entries byp1
,p2
,p3
andp4
terms.I can't wrap my head around the example in the docs, how it'd be applied to this.
Beta Was this translation helpful? Give feedback.
All reactions