feat: filter assignments by course in lesson

This commit is contained in:
Jannat Patel
2025-12-19 17:42:33 +05:30
parent 984a63c46a
commit 8048cb47c5
5 changed files with 56 additions and 14 deletions

View File

@@ -148,7 +148,7 @@ const assignmentFilter = computed(() => {
const assignments = createListResource({
doctype: 'LMS Assignment',
fields: ['name', 'title', 'type', 'creation', 'question'],
fields: ['name', 'title', 'type', 'creation', 'question', 'course'],
orderBy: 'modified desc',
cache: ['assignments'],
transform(data) {