@studyportals/fawkes 8.2.4-10 → 8.2.4-12
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.
|
@@ -31,6 +31,8 @@ export class CountryAreaCity extends OrganisationsSeoIndexabilityPolicy {
|
|
|
31
31
|
paths.push(this.getPathWithSortingOption(city.path));
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
+
console.warn(`Generated ${paths.length} URLs for CountryAreaCity policy.`);
|
|
35
|
+
console.warn('Generated URLs:', JSON.stringify(paths));
|
|
34
36
|
return paths;
|
|
35
37
|
}
|
|
36
38
|
get filterCombination() {
|
|
@@ -29,6 +29,8 @@ export class CountryCity extends OrganisationsSeoIndexabilityPolicy {
|
|
|
29
29
|
paths.push(this.getPathWithSortingOption(city.path));
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
+
console.warn(`Generated ${paths.length} URLs for CountryCity policy.`);
|
|
33
|
+
console.warn('Generated URLs:', JSON.stringify(paths));
|
|
32
34
|
return paths;
|
|
33
35
|
}
|
|
34
36
|
get filterCombination() {
|
|
@@ -29,6 +29,8 @@ export class CityPresenter {
|
|
|
29
29
|
throw new Error('searchApiClient.getCities is not found');
|
|
30
30
|
}
|
|
31
31
|
const data = await this.searchApiClient.getCities();
|
|
32
|
+
console.warn(`Fetched ${data.length} cities from search API.`);
|
|
33
|
+
console.warn('cities', JSON.stringify(data));
|
|
32
34
|
const cityFragments = data.map(city => {
|
|
33
35
|
const country = countriesExtendedAll.find(item => item.iso?.toLowerCase() === city.countryIsoCode?.toLowerCase());
|
|
34
36
|
let cityPath = ``;
|
|
@@ -53,6 +55,8 @@ export class CityPresenter {
|
|
|
53
55
|
countryId: country ? country.id.toString() : '',
|
|
54
56
|
};
|
|
55
57
|
});
|
|
58
|
+
console.warn(`Processed ${cityFragments.length} city fragments.`);
|
|
59
|
+
console.warn('cityFragments', JSON.stringify(cityFragments));
|
|
56
60
|
return cityFragments;
|
|
57
61
|
}
|
|
58
62
|
catch (error) {
|