GraphQL sorting search results #24579
-
I am trying to send search query with following parameters
The V4 API doesn’t support sorting search result by |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
The GraphQL search connection is a wrapper around GitHub’s standard search functionality. Because of this, you’re only going to get the same kinds of functionality you can find searching through the web UI: I hope that helps! |
Beta Was this translation helpful? Give feedback.
-
I would be incredibly helpful if one could orderby/sort search connections by fields (e.g., createdAt). |
Beta Was this translation helpful? Give feedback.
-
Thank you. I was also trying to find what could be used in a search. |
Beta Was this translation helpful? Give feedback.
-
Could we have that a as a feature request? Being able to sort repostories through the search functionality by when they were created. |
Beta Was this translation helpful? Give feedback.
The GraphQL search connection is a wrapper around GitHub’s standard search functionality. Because of this, you’re only going to get the same kinds of functionality you can find searching through the web UI:
I hope that helps!