@studyportals/fawkes 6.0.1-21 → 6.0.1-23
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.
|
@@ -22,7 +22,8 @@ export class Area extends ProgrammesBaseIndexabilityPolicy {
|
|
|
22
22
|
const paths = [];
|
|
23
23
|
for (const area of areaFragments) {
|
|
24
24
|
const filterKeyValues = new Map([
|
|
25
|
-
[FilterKey.AREA, [area.id]]
|
|
25
|
+
[FilterKey.AREA, [area.id]],
|
|
26
|
+
[FilterKey.COUNTRY, [area.countryId]]
|
|
26
27
|
]);
|
|
27
28
|
const result = await this.checkRulesForSitemap(filterKeyValues);
|
|
28
29
|
if (result) {
|
|
@@ -27,7 +27,8 @@ export class DisciplineArea extends ProgrammesBaseIndexabilityPolicy {
|
|
|
27
27
|
for (const area of areaFragments) {
|
|
28
28
|
const filterKeyValues = new Map([
|
|
29
29
|
[FilterKey.DISCIPLINES, [discipline.id]],
|
|
30
|
-
[FilterKey.AREA, [area.id]]
|
|
30
|
+
[FilterKey.AREA, [area.id]],
|
|
31
|
+
[FilterKey.COUNTRY, [area.countryId]]
|
|
31
32
|
]);
|
|
32
33
|
const result = await this.checkRulesForSitemap(filterKeyValues);
|
|
33
34
|
if (result) {
|