Skip to content

Commit

Permalink
sort issues by update instead of creation date
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier committed Oct 17, 2024
1 parent f691222 commit 51cbfc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions src/classes/issues-processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 51cbfc8

Please sign in to comment.