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

increase pageSize for time entry fetching to 500

ulferts30fa41651e37
diff --git a/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.ts b/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.ts
index c4c24c87452..3af99bb9247 100644
--- a/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.ts
+++ b/frontend/src/app/modules/calendar/te-calendar/te-calendar.component.ts
@@ -133,7 +133,7 @@ export class TimeEntryCalendarComponent implements OnInit, OnDestroy, AfterViewI
this.memoizedTimeEntries.end.getTime() !== end.getTime()) {
let promise = this
.timeEntryDm
- .list({ filters: this.dmFilters(start, end) })
+ .list({ filters: this.dmFilters(start, end), pageSize: 500 })
.then(collection => {
this.memoizedCreateAllowed = !!collection.createTimeEntry;
diff --git a/frontend/src/app/modules/grids/widgets/time-entries/list/time-entries-list.component.ts b/frontend/src/app/modules/grids/widgets/time-entries/list/time-entries-list.component.ts
index 33c72b0e857..5b7bc26edc0 100644
--- a/frontend/src/app/modules/grids/widgets/time-entries/list/time-entries-list.component.ts
+++ b/frontend/src/app/modules/grids/widgets/time-entries/list/time-entries-list.component.ts
@@ -37,7 +37,7 @@ export abstract class WidgetTimeEntriesListComponent extends AbstractWidgetCompo
}
ngOnInit() {
- this.timeEntryDm.list({ filters: this.dmFilters() })
+ this.timeEntryDm.list({ filters: this.dmFilters(), pageSize: 500 })
.then((collection) => {
this.buildEntries(collection.elements);
this.entriesLoaded = true;