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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Add magic page number to board request
Oliver Günther92cdf7a9df30
diff --git a/frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts b/frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.tsindex b91c9c5bdda..306ad017825 100644--- a/frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts+++ b/frontend/src/app/core/apiv3/virtual/apiv3-boards-paths.ts@@ -39,6 +39,7 @@ import { ApiV3Collection } from 'core-app/core/apiv3/cache/cachable-apiv3-collecimport { PathHelperService } from 'core-app/core/path-helper/path-helper.service';import { ApiV3BoardPath } from 'core-app/core/apiv3/virtual/apiv3-board-path';import { StateCacheService } from 'core-app/core/apiv3/cache/state-cache.service';+import { MAGIC_PAGE_NUMBER } from 'core-app/core/apiv3/helpers/get-paginated-results';export class ApiV3BoardsPaths extends ApiV3Collection<Board, ApiV3BoardPath> {@InjectField() private authorisationService:AuthorisationService;@@ -77,7 +78,7 @@ export class ApiV3BoardsPaths extends ApiV3Collection<Board, ApiV3BoardPath> {*/public allInScope(projectIdentifier:string):Observable<Board[]> {const path = this.boardPath(projectIdentifier);- return this.list({ filters: [['scope', '=', [path]]] });+ return this.list({ filters: [['scope', '=', [path]]], pageSize: MAGIC_PAGE_NUMBER });}/**