aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/resolvers/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/resolvers/repo.go')
-rw-r--r--graphql/resolvers/repo.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/graphql/resolvers/repo.go b/graphql/resolvers/repo.go
index 5756a9ee..fc82faf4 100644
--- a/graphql/resolvers/repo.go
+++ b/graphql/resolvers/repo.go
@@ -19,11 +19,7 @@ func (repoResolver) AllBugs(ctx context.Context, obj *models.Repository, after *
}
// Simply pass a []string with the ids to the pagination algorithm
- source, err := obj.Repo.AllBugIds()
-
- if err != nil {
- return models.BugConnection{}, err
- }
+ source := obj.Repo.AllBugOrderById()
// The edger create a custom edge holding just the id
edger := func(id string, offset int) connections.Edge {