File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
frontend/src/components/assessments Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -397,6 +397,7 @@ export default {
397
397
clearFilters () {
398
398
this .filterSearchParams .moreFilters = {};
399
399
this .pageNumber = 1 ;
400
+ this .applyDefaultFilters ();
400
401
this .getAssessmentStudents ();
401
402
},
402
403
toggleFilters () {
Original file line number Diff line number Diff line change @@ -308,7 +308,8 @@ export default {
308
308
loadingCount: 0 ,
309
309
isActive: false ,
310
310
isSessionEditable: false ,
311
- hasError: false
311
+ hasError: false ,
312
+ isDistrictUser: false
312
313
};
313
314
},
314
315
computed: {
@@ -358,6 +359,7 @@ export default {
358
359
easStore ().getSpecialCaseCodes ().then (() => {
359
360
this .setupSpecialCaseCodes ();
360
361
this .loading = false ;
362
+ this .isDistrictUser = this .userInfo .activeInstituteType !== ' SCHOOL' ;
361
363
});
362
364
});
363
365
this .setupProficiencyScore ();
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ export default {
352
352
this .sessions = [];
353
353
let sessionYearMinusTwo = LocalDate .now ().minusYears (2 ).year ();
354
354
this .schoolYearSessions ? .forEach ((session ) => {
355
- if (parseInt (session .courseYear ) >= sessionYearMinusTwo){
355
+ if (session . completionDate !== null && parseInt (session .courseYear ) >= sessionYearMinusTwo){
356
356
this .sessions .push ({
357
357
sessionCodeName: session .courseYear + ' /' + session .courseMonth ,
358
358
sessionCode: session .courseYear + ' ' + session .courseMonth ,
You can’t perform that action at this time.
0 commit comments