@studyportals/fawkes 7.4.2-14 → 7.4.2-16
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FilterKey } from '@studyportals/search-filters/server-side';
|
|
1
|
+
import { FilterKey, SpecialProgrammesFilterOptionValue } from '@studyportals/search-filters/server-side';
|
|
2
2
|
import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
|
|
3
3
|
import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
|
|
4
4
|
import { FilterCombinations } from '../../enums/FilterCombinations';
|
|
@@ -22,7 +22,7 @@ export class ContinentSpecialProgrammes extends ProgrammesBaseIndexabilityPolicy
|
|
|
22
22
|
const specialProgrammesFragments = SpecialProgrammesPresenter.getInstance().getFragments();
|
|
23
23
|
const continentFragments = ContinentPresenter.getInstance().getFragments();
|
|
24
24
|
const paths = [];
|
|
25
|
-
const validSpecialProgrammesIds = [
|
|
25
|
+
const validSpecialProgrammesIds = [SpecialProgrammesFilterOptionValue.ERASMUS_MUNDUS];
|
|
26
26
|
const validSpecialProgrammes = specialProgrammesFragments.filter(specialProgramme => validSpecialProgrammesIds.includes(specialProgramme.id));
|
|
27
27
|
for (const pageNumber of this.indexablePageNumbers) {
|
|
28
28
|
for (const specialProgramme of validSpecialProgrammes) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FilterKey } from '@studyportals/search-filters/server-side';
|
|
1
|
+
import { FilterKey, SpecialProgrammesFilterOptionValue } from '@studyportals/search-filters/server-side';
|
|
2
2
|
import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
|
|
3
3
|
import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
|
|
4
4
|
import { FilterCombinations } from '../../enums/FilterCombinations';
|
|
@@ -22,7 +22,7 @@ export class CountrySpecialProgrammes extends ProgrammesBaseIndexabilityPolicy {
|
|
|
22
22
|
const specialProgrammesFragments = SpecialProgrammesPresenter.getInstance().getFragments();
|
|
23
23
|
const countryFragments = CountryPresenter.getInstance().getFragments();
|
|
24
24
|
const paths = [];
|
|
25
|
-
const validSpecialProgrammesIds = [
|
|
25
|
+
const validSpecialProgrammesIds = [SpecialProgrammesFilterOptionValue.ERASMUS_MUNDUS];
|
|
26
26
|
const validSpecialProgrammes = specialProgrammesFragments.filter(specialProgramme => validSpecialProgrammesIds.includes(specialProgramme.id));
|
|
27
27
|
for (const pageNumber of this.indexablePageNumbers) {
|
|
28
28
|
for (const specialProgramme of validSpecialProgrammes) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FilterKey } from '@studyportals/search-filters/server-side';
|
|
1
|
+
import { DegreeTypeFilterOptionValue, FilterKey, SpecialProgrammesFilterOptionValue } from '@studyportals/search-filters/server-side';
|
|
2
2
|
import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
|
|
3
3
|
import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
|
|
4
4
|
import { FilterCombinations } from '../../enums/FilterCombinations';
|
|
@@ -27,9 +27,9 @@ export class DegreeAttendanceSpecialProgrammes extends ProgrammesBaseIndexabilit
|
|
|
27
27
|
const specialProgrammesFragments = SpecialProgrammesPresenter.getInstance().getFragments();
|
|
28
28
|
const attendanceFragments = AttendancePresenter.getInstance().getFragments();
|
|
29
29
|
const paths = [];
|
|
30
|
-
const allowedDegreeIds = [
|
|
30
|
+
const allowedDegreeIds = [DegreeTypeFilterOptionValue.MBA];
|
|
31
31
|
const allowedDegrees = degreeFragments.filter(sp => allowedDegreeIds.includes(sp.id));
|
|
32
|
-
const allowedSpecialProgramIds = [
|
|
32
|
+
const allowedSpecialProgramIds = [SpecialProgrammesFilterOptionValue.EXECUTIVE_PROGRAMMES];
|
|
33
33
|
const allowedSpecialProgrammes = specialProgrammesFragments.filter(sp => allowedSpecialProgramIds.includes(sp.id));
|
|
34
34
|
for (const pageNumber of this.indexablePageNumbers) {
|
|
35
35
|
for (const degree of allowedDegrees) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studyportals/fawkes",
|
|
3
|
-
"version": "7.4.2-
|
|
3
|
+
"version": "7.4.2-16",
|
|
4
4
|
"description": "A package to centralize SEO related logic for SBLP and Sitemap Generator.",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist"
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"dependencies": {
|
|
93
93
|
"@studyportals/domain-client": "7.1.0",
|
|
94
94
|
"@studyportals/ranking-api-interface": "^1.3.12",
|
|
95
|
-
"@studyportals/search-filters": "
|
|
95
|
+
"@studyportals/search-filters": "6.0.0",
|
|
96
96
|
"@studyportals/static-domain-data": "^6.1.0"
|
|
97
97
|
},
|
|
98
98
|
"optionalDependencies": {
|