fix: bug gefixt bij zoeken naar items in databank
This commit is contained in:
parent
1a344088ab
commit
10749012c6
3 changed files with 4 additions and 4 deletions
|
@ -62,9 +62,7 @@ export class QuestionRepository extends DwengoEntityRepository<Question> {
|
|||
|
||||
public async findAllByAssignment(assignment: Assignment): Promise<Question[]> {
|
||||
return this.find({
|
||||
inGroup: {
|
||||
$contained: assignment.groups,
|
||||
},
|
||||
inGroup: assignment.groups.getItems(),
|
||||
learningObjectHruid: assignment.learningPathHruid,
|
||||
learningObjectLanguage: assignment.learningPathLanguage,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue