@studyportals/fawkes 8.0.2-13 → 8.0.2-15
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.
|
@@ -46,6 +46,7 @@ export declare enum FilterCombinations {
|
|
|
46
46
|
DEGREE_DURATION = "degreeDuration",
|
|
47
47
|
DEGREE_FORMAT_TUITION_FEE = "degreeFormatTuitionFee",
|
|
48
48
|
DEGREE_SPECIAL_PROGRAMMES = "degreeSpecialProgrammes",
|
|
49
|
+
DEGREE_ATTENDANCE_SPECIAL_PROGRAMMES = "degreeAttendanceSpecialProgrammes",
|
|
49
50
|
DISCIPLINE = "discipline",
|
|
50
51
|
UNFILTERED = "unfiltered",
|
|
51
52
|
UNIVERSITY_COUNTRY = "universityCountry",
|
|
@@ -47,6 +47,7 @@ export var FilterCombinations;
|
|
|
47
47
|
FilterCombinations["DEGREE_DURATION"] = "degreeDuration";
|
|
48
48
|
FilterCombinations["DEGREE_FORMAT_TUITION_FEE"] = "degreeFormatTuitionFee";
|
|
49
49
|
FilterCombinations["DEGREE_SPECIAL_PROGRAMMES"] = "degreeSpecialProgrammes";
|
|
50
|
+
FilterCombinations["DEGREE_ATTENDANCE_SPECIAL_PROGRAMMES"] = "degreeAttendanceSpecialProgrammes";
|
|
50
51
|
FilterCombinations["DISCIPLINE"] = "discipline";
|
|
51
52
|
FilterCombinations["UNFILTERED"] = "unfiltered";
|
|
52
53
|
FilterCombinations["UNIVERSITY_COUNTRY"] = "universityCountry";
|
|
@@ -9,7 +9,7 @@ import { TuitionFeePresenter } from '../../presenters/TuitionFeePresenter';
|
|
|
9
9
|
export class DegreeAreaTuitionFee extends ProgrammesBaseIndexabilityPolicy {
|
|
10
10
|
name = 'Degree Area Tuition fee Policy';
|
|
11
11
|
description = 'Controls indexing of pages filtered by geographic areas and tuition fees.';
|
|
12
|
-
filterKeys = [FilterKey.AREA, FilterKey.DEGREE_TYPE, FilterKey.TUITION_FEE];
|
|
12
|
+
filterKeys = [FilterKey.AREA, FilterKey.DEGREE_TYPE, FilterKey.TUITION_FEE, FilterKey.COUNTRY];
|
|
13
13
|
rules = [
|
|
14
14
|
new SingleValueSelectedForFilterRule(FilterKey.AREA),
|
|
15
15
|
new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
|
|
@@ -15,7 +15,7 @@ export class DegreeAttendanceSpecialProgrammes extends ProgrammesBaseIndexabilit
|
|
|
15
15
|
new SingleValueSelectedForFilterRule(FilterKey.DEGREE_TYPE),
|
|
16
16
|
new SingleValueSelectedForFilterRule(FilterKey.SPECIAL_PROGRAMMES),
|
|
17
17
|
new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
|
|
18
|
-
new OnlyFiltersSelectedRule([FilterKey.DEGREE_TYPE, FilterKey.SPECIAL_PROGRAMMES]),
|
|
18
|
+
new OnlyFiltersSelectedRule([FilterKey.DEGREE_TYPE, FilterKey.SPECIAL_PROGRAMMES, FilterKey.DELIVERY_METHOD]),
|
|
19
19
|
new OnlineAttendanceRule()
|
|
20
20
|
];
|
|
21
21
|
constructor(dependencies) {
|
|
@@ -51,6 +51,6 @@ export class DegreeAttendanceSpecialProgrammes extends ProgrammesBaseIndexabilit
|
|
|
51
51
|
return paths;
|
|
52
52
|
}
|
|
53
53
|
get filterCombination() {
|
|
54
|
-
return FilterCombinations.
|
|
54
|
+
return FilterCombinations.DEGREE_ATTENDANCE_SPECIAL_PROGRAMMES;
|
|
55
55
|
}
|
|
56
56
|
}
|