@studyportals/fawkes 8.1.2-5 → 8.1.2-6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,10 +27,12 @@ export class DisciplineCountryAttendance extends ProgrammesBaseIndexabilityPolic
|
|
|
27
27
|
const countryFragments = CountryPresenter.getInstance().getFragments();
|
|
28
28
|
const attendanceFragments = AttendancePresenter.getInstance().getFragments();
|
|
29
29
|
const paths = [];
|
|
30
|
+
const allowedAttendanceIds = ["online"];
|
|
31
|
+
const allowedAttendances = attendanceFragments.filter(a => allowedAttendanceIds.includes(a.id));
|
|
30
32
|
for (const pageNumber of this.indexablePageNumbers) {
|
|
31
33
|
for (const discipline of disciplineFragments) {
|
|
32
34
|
for (const country of countryFragments) {
|
|
33
|
-
for (const attendance of
|
|
35
|
+
for (const attendance of allowedAttendances) {
|
|
34
36
|
const filterKeyValues = new Map([
|
|
35
37
|
[FilterKey.DISCIPLINES, [discipline.id]],
|
|
36
38
|
[FilterKey.COUNTRY, [country.id]],
|