From ee2b1311bc5008e741fcbe7889c05d7d624c022c Mon Sep 17 00:00:00 2001 From: Ron Lucke <lucke@elan-ev.de> Date: Mon, 4 Oct 2021 13:00:23 +0000 Subject: [PATCH] fixes #260 --- resources/vue/components/courseware/CoursewareFileChooser.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/vue/components/courseware/CoursewareFileChooser.vue b/resources/vue/components/courseware/CoursewareFileChooser.vue index 9e5eaa96e4f..2b3487c2015 100755 --- a/resources/vue/components/courseware/CoursewareFileChooser.vue +++ b/resources/vue/components/courseware/CoursewareFileChooser.vue @@ -122,7 +122,7 @@ export default { async getCourseFiles() { const parent = { type: 'courses', id: `${this.context.id}` }; const relationship = 'file-refs'; - const options = { include: 'terms-of-use' }; + const options = { include: 'terms-of-use', 'page[limit]': 10000 }; await this.loadRelatedFileRefs({ parent, relationship, options }); this.loadedCourseFiles = this.relatedFileRefs({ parent, relationship }); @@ -131,7 +131,7 @@ export default { async getUserFiles() { const parent = { type: 'users', id: `${this.userId}` }; const relationship = 'file-refs'; - const options = { include: 'terms-of-use' }; + const options = { include: 'terms-of-use', 'page[limit]': 10000 }; await this.loadRelatedFileRefs({ parent, relationship, options }); this.loadedUserFiles = this.relatedFileRefs({ parent, relationship }); -- GitLab