Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Pass -1 pageSize to backend in template selection

Oliver Günther9d175f9a90f0
diff --git a/frontend/src/app/features/projects/components/new-project/new-project.component.ts b/frontend/src/app/features/projects/components/new-project/new-project.component.ts
index 0cb1c2645f6..9cfd8c24165 100644
--- a/frontend/src/app/features/projects/components/new-project/new-project.component.ts
+++ b/frontend/src/app/features/projects/components/new-project/new-project.component.ts
@@ -54,7 +54,10 @@ export class NewProjectComponent extends UntilDestroyedMixin implements OnInit {
this
.apiV3Service
.projects
- .filtered(this.copyableTemplateFilter)
+ .filtered(
+ this.copyableTemplateFilter,
+ { pageSize: '-1' },
+ )
.get()
.pipe(
map((response) => response.elements.map((el:HalResource) => ({ href: el.href, name: el.name }))),