@studyportals/fawkes 9.0.1-0 → 9.0.1-2
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.
|
@@ -20,8 +20,8 @@ export class DisciplineCountry extends ScholarshipSeoIndexabilityPolicy {
|
|
|
20
20
|
new SingleValueSelectedForFilterRule(FilterKey.DISCIPLINES),
|
|
21
21
|
new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
|
|
22
22
|
new OnlyFiltersSelectedRule([FilterKey.DISCIPLINES, FilterKey.COUNTRY]),
|
|
23
|
-
new
|
|
24
|
-
new
|
|
23
|
+
new OnlyCountriesDisciplineCountryRule(),
|
|
24
|
+
new SearchVolumeCountriesDisciplinesRule()
|
|
25
25
|
];
|
|
26
26
|
}
|
|
27
27
|
get filterCombination() {
|
|
@@ -8,7 +8,11 @@ export class OnlyCountriesDisciplineCountryRule {
|
|
|
8
8
|
return 'OnlyCountriesDisciplineCountryRule';
|
|
9
9
|
}
|
|
10
10
|
forSearch(dependencies) {
|
|
11
|
+
//eslint-disable-next-line no-console
|
|
12
|
+
console.log('dependencies', dependencies.filterState);
|
|
11
13
|
const selectedCountry = dependencies.seoInfoBase.getFilterOptionValueBy(this.countryFilterKey, dependencies.filterState);
|
|
14
|
+
//eslint-disable-next-line no-console
|
|
15
|
+
console.log('selectedCountry', selectedCountry);
|
|
12
16
|
if (!selectedCountry) {
|
|
13
17
|
return Promise.resolve(false);
|
|
14
18
|
}
|