diff --git a/DESCRIPTION b/DESCRIPTION index 7dcfb02..4cdd4b7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: dashboard Title: What the Package Does (One Line, Title Case) -Version: 0.0.0.016 +Version: 0.0.0.017 Authors@R: person(given = "First", family = "Last", diff --git a/R/gh-queries.R b/R/gh-queries.R index 116d795..757c35f 100644 --- a/R/gh-queries.R +++ b/R/gh-queries.R @@ -129,10 +129,13 @@ gh_issue_assignees_qry <- function (org = "ropensci", if (!is.null (end_cursor)) { after_txt <- paste0 (", after:\"", end_cursor, "\"") } + # Vitally important (see issue #5): + order_txt <- + ", orderBy: {field: CREATED_AT, direction: ASC}" q <- paste0 ("{ repository(owner:\"", org, "\", name:\"", repo, "\") { - issues (first: 100", after_txt, ") { + issues (first: 100", after_txt, order_txt, ") { pageInfo { hasNextPage endCursor diff --git a/codemeta.json b/codemeta.json index e55b0bb..51cfe86 100644 --- a/codemeta.json +++ b/codemeta.json @@ -6,7 +6,7 @@ "name": "dashboard: What the Package Does (One Line, Title Case)", "codeRepository": "https://github.com/ropensci-review-tools/dashboard", "license": "https://spdx.org/licenses/MIT", - "version": "0.0.0.016", + "version": "0.0.0.017", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R",