From 71c0b4e9fd0ea0c2229ac66a9863fcbd6c29ddd5 Mon Sep 17 00:00:00 2001 From: Boris K Date: Wed, 12 May 2021 20:06:03 +0200 Subject: [PATCH] Sort notable contributions by number of stars (#293) --- source/plugins/notable/queries/contributions.graphql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/plugins/notable/queries/contributions.graphql b/source/plugins/notable/queries/contributions.graphql index 041b2808..fd70cef9 100644 --- a/source/plugins/notable/queries/contributions.graphql +++ b/source/plugins/notable/queries/contributions.graphql @@ -1,6 +1,6 @@ query NotableContributions { user(login: "$login") { - repositoriesContributedTo($after first: $repositories, contributionTypes: COMMIT) { + repositoriesContributedTo($after first: $repositories, contributionTypes: COMMIT, orderBy: { field: STARGAZERS, direction: DESC }) { edges { cursor node { @@ -23,4 +23,4 @@ query NotableContributions { } } } -} \ No newline at end of file +}