Skip to content

Commit

Permalink
clear school filter on change of all students by district report (dif…
Browse files Browse the repository at this point in the history
…f schools)
  • Loading branch information
alexmcdermid committed Oct 15, 2024
1 parent bea3b6a commit 4838c7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/components/common/Filters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,8 @@ export default {
immediate: true,
handler(newVal) {
if (this.isDistrict && newVal) {
this.schoolNameNumberFilterForDistrict = null;
this.setSchoolNameNumberFilterForDistrict('schoolNameNumber', null);
this.setupSchoolListForDistrict(newVal.id);
}
}
Expand Down Expand Up @@ -658,6 +660,7 @@ export default {
this.courseRange = [...this.courseRangeDefault];
this.penLocalIdNameFilter = null;
this.schoolNameNumberFilter = null;
this.schoolNameNumberFilterForDistrict = null;
this.districtNameNumberFilter = null;
this.legalFirstName = null;
this.legalMiddleNames = null;
Expand Down

0 comments on commit 4838c7d

Please sign in to comment.