From 51cbfc894c15ee7b442da589bb51dbb0fcf732ef Mon Sep 17 00:00:00 2001 From: ericLemanissier Date: Fri, 24 May 2024 08:48:38 +0000 Subject: [PATCH] sort issues by update instead of creation date --- dist/index.js | 1 + src/classes/issues-processor.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index 6fe079ac0..20ece2e25 100644 --- a/dist/index.js +++ b/dist/index.js @@ -684,6 +684,7 @@ class IssuesProcessor { state: 'open', per_page: 100, direction: this.options.ascending ? 'asc' : 'desc', + sort: 'updated', page }); (_a = this.statistics) === null || _a === void 0 ? void 0 : _a.incrementFetchedItemsCount(issueResult.data.length); diff --git a/src/classes/issues-processor.ts b/src/classes/issues-processor.ts index 486c6a78a..d8e2a2ef8 100644 --- a/src/classes/issues-processor.ts +++ b/src/classes/issues-processor.ts @@ -571,6 +571,7 @@ export class IssuesProcessor { state: 'open', per_page: 100, direction: this.options.ascending ? 'asc' : 'desc', + sort: 'updated', page }); this.statistics?.incrementFetchedItemsCount(issueResult.data.length);