MOBILE-4188 grades: Fix search results swiping
parent
fa6eb60470
commit
c06671a760
|
@ -81,10 +81,13 @@ export class CoreGradesCoursePage implements AfterViewInit, OnDestroy {
|
||||||
CoreRoutedItemsManagerSourcesTracker.getOrCreateSource(CoreGradesCoursesSource, []),
|
CoreRoutedItemsManagerSourcesTracker.getOrCreateSource(CoreGradesCoursesSource, []),
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case 'participants':
|
case 'participants': {
|
||||||
|
const search = CoreNavigator.getRouteParam('search');
|
||||||
|
|
||||||
this.swipeManager = new CoreGradesCourseParticipantsSwipeManager(
|
this.swipeManager = new CoreGradesCourseParticipantsSwipeManager(
|
||||||
CoreRoutedItemsManagerSourcesTracker.getOrCreateSource(CoreUserParticipantsSource, [this.courseId]),
|
CoreRoutedItemsManagerSourcesTracker.getOrCreateSource(CoreUserParticipantsSource, [this.courseId, search]),
|
||||||
);
|
);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Reference in New Issue