Skip to content

docs: add graphql multi-field sort note#15123

Merged
DanRibbens merged 1 commit intopayloadcms:mainfrom
atimmer:docs-graphql-sort-multifield
Jan 9, 2026
Merged

docs: add graphql multi-field sort note#15123
DanRibbens merged 1 commit intopayloadcms:mainfrom
atimmer:docs-graphql-sort-multifield

Conversation

@atimmer
Copy link
Copy Markdown
Contributor

@atimmer atimmer commented Jan 8, 2026

What?

Adding a note to the sorting docs that you can sort on multiple fields in the GraphQL endpoint.

Why?

I was confused about how to do this in the GraphQL API because you can't pass in an array there. Adding a specific note will help future travelers.

Edit:
I just reread the docs and see that it's there under the REST API heading. I feel the note still adds something.

Copy link
Copy Markdown
Contributor

@DanRibbens DanRibbens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition! Thanks!

@DanRibbens DanRibbens enabled auto-merge (squash) January 9, 2026 14:46
@DanRibbens DanRibbens merged commit 14ac061 into payloadcms:main Jan 9, 2026
20 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🚀 This is included in version v3.71.0

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 this pull request may close these issues.

2 participants