Orderby field STARGAZERS not working


#1

Hello, when I try to order repos by start count using STARGAZERS, the response didn’t order the correct result. (But it works well when I change STARGAZERS to other values like CREATE_AT, UPDATED_AT). My query like this: (an other example here Sort Forks via Stargazers)

query {
  viewer {
    login
    name
    avatarUrl
    repositories(first:24, orderBy: {direction: DESC, field: STARGAZERS}) {
      edges {
        node {
          name
        }
      }
    }

#2

Hi @windsoon – thanks for opening this report. Unfortunately, I wasn’t able to reproduce this. Are you still encountering this issue? If so, Is there additional information that you can provide?


#3

It works now. I’m not sure what happened :slight_smile: