Skip to content

Commit

Permalink
Merge pull request #2142 from bcgov/fix/edx-2690
Browse files Browse the repository at this point in the history
EDX-2690: added ZEROCRS filter.
  • Loading branch information
arcshiftsolutions authored Dec 6, 2024
2 parents 5b0d46a + b6f1394 commit 74df232
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion backend/src/components/studentFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ function validateFteZeroFilter(filters) {
'INDYADULT',
'INACTIVE',
'DISTDUP',
'AUTHDUP'
'AUTHDUP',
'ZEROCRS'
];
if (filters.length > 0) {
if (!filters.every(value => fteZeroCategories.includes(value))) {
Expand Down
7 changes: 6 additions & 1 deletion frontend/src/utils/sdc/collectionTableConfiguration.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,11 @@ export const FTE_ZERO_FILTER = Object.freeze(
title: 'Authority already received funding',
id: 'authdup',
value: 'AUTHDUP'
},
{
title: 'Student Reported Without Courses',
id: 'zerocrs',
value: 'ZEROCRS'
}
]
}
Expand Down Expand Up @@ -1191,4 +1196,4 @@ export const MIN_REPORTS = Object.freeze(
{ title: 'Legal Last Name', key: 'legalLastName' }
]
}
);
);

0 comments on commit 74df232

Please sign in to comment.