Sort group by field values #29879
Replies: 9 comments
-
Similar #7628 |
Beta Was this translation helpful? Give feedback.
-
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing! Thanks for being a part of the Gatsby community! 💪💜 |
Beta Was this translation helpful? Give feedback.
-
@universse Isn't it a duplicate of #7628 ? |
Beta Was this translation helpful? Give feedback.
-
I think there's a difference. For eg, using the following query, allData(sort: { fields: date, order: DESC }) {
group(field: category) {
fieldValue
nodes {
id
}
}
} I would want the ability to sort the group by As for #7628, I think what the OP meant is that the |
Beta Was this translation helpful? Give feedback.
-
Looking forward to this feature! We're currently sorting this outside graphql on our own. |
Beta Was this translation helpful? Give feedback.
-
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Beta Was this translation helpful? Give feedback.
-
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? I have the same requirement. Right now I'm sorting in JS from the component but it would be great if this could be done in GraphQL. |
Beta Was this translation helpful? Give feedback.
-
Any workaround for this? |
Beta Was this translation helpful? Give feedback.
-
I have a use case where I need to sort groups by fieldValue. Apparently there was a similar FR before #3684.
I can open a pull request too and will need some guidance.
Beta Was this translation helpful? Give feedback.
All reactions