@studyportals/fawkes 8.1.2-4 → 8.1.2-5
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.
- package/dist/src/programmes/policies/ContinentDuration.js +1 -1
- package/dist/src/programmes/policies/ContinentFormat.js +1 -1
- package/dist/src/programmes/policies/DegreeContinentTuitionFee.js +1 -1
- package/dist/src/programmes/policies/DisciplineCountryAttendance.js +1 -3
- package/dist/src/programmes/policies/DisciplineSpecialProgrammes.js +1 -1
- package/package.json +1 -1
|
@@ -35,7 +35,7 @@ export class ContinentDuration extends ProgrammesBaseIndexabilityPolicy {
|
|
|
35
35
|
]);
|
|
36
36
|
const result = await this.checkRulesForSitemapWithPageNumber(filterKeyValues, pageNumber);
|
|
37
37
|
if (result) {
|
|
38
|
-
paths.push(this.getPathWithPageNumber(`${
|
|
38
|
+
paths.push(this.getPathWithPageNumber(`${duration.path}/${continent.path}`, pageNumber));
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -35,7 +35,7 @@ export class ContinentFormat extends ProgrammesBaseIndexabilityPolicy {
|
|
|
35
35
|
]);
|
|
36
36
|
const result = await this.checkRulesForSitemapWithPageNumber(filterKeyValues, pageNumber);
|
|
37
37
|
if (result) {
|
|
38
|
-
paths.push(this.getPathWithPageNumber(`${
|
|
38
|
+
paths.push(this.getPathWithPageNumber(`${format.path}/${continent.path}`, pageNumber));
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -38,7 +38,7 @@ export class DegreeContinentTuitionFee extends ProgrammesBaseIndexabilityPolicy
|
|
|
38
38
|
]);
|
|
39
39
|
const result = await this.checkRulesForSitemapWithPageNumber(filterKeyValues, pageNumber);
|
|
40
40
|
if (result) {
|
|
41
|
-
paths.push(this.getPathWithPageNumber(`${degree.path}/${
|
|
41
|
+
paths.push(this.getPathWithPageNumber(`${degree.path}/${tuitionFee.path}/${continent.path}`, pageNumber));
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -27,12 +27,10 @@ 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));
|
|
32
30
|
for (const pageNumber of this.indexablePageNumbers) {
|
|
33
31
|
for (const discipline of disciplineFragments) {
|
|
34
32
|
for (const country of countryFragments) {
|
|
35
|
-
for (const attendance of
|
|
33
|
+
for (const attendance of attendanceFragments) {
|
|
36
34
|
const filterKeyValues = new Map([
|
|
37
35
|
[FilterKey.DISCIPLINES, [discipline.id]],
|
|
38
36
|
[FilterKey.COUNTRY, [country.id]],
|
|
@@ -35,7 +35,7 @@ export class DisciplineSpecialProgrammes extends ProgrammesBaseIndexabilityPolic
|
|
|
35
35
|
]);
|
|
36
36
|
const result = await this.checkRulesForSitemapWithPageNumber(filterKeyValues, pageNumber);
|
|
37
37
|
if (result) {
|
|
38
|
-
paths.push(this.getPathWithPageNumber(`${
|
|
38
|
+
paths.push(this.getPathWithPageNumber(`${specialProgramme.path}/${discipline.path}`, pageNumber));
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
}
|