Skip to content

Commit 7d8b54e

Browse files
author
19Topgun93
committed
add params to Openproject Fix
1 parent 5a44667 commit 7d8b54e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/app/features/issue/providers/open-project/open-project-api.service.ts

+5
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ export class OpenProjectApiService {
5252
{
5353
// see https://www.openproject.org/docs/api/endpoints/work-packages/
5454
url: `${cfg.host}/api/v3/projects/${cfg.projectId}/work_packages`,
55+
params: {
56+
pageSize: 100,
57+
// Default: [["id", "asc"]]
58+
sortBy: '[["updatedAt", "desc"]]',
59+
},
5560
},
5661
cfg,
5762
).pipe(

0 commit comments

Comments
 (0)