@studyportals/fawkes 7.4.2-12 → 7.4.2-13
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.
|
@@ -28,7 +28,7 @@ export class ProgrammesBaseIndexabilityPolicy extends BaseSeoIndexabilityPolicy
|
|
|
28
28
|
else {
|
|
29
29
|
result = await rule.forSitemapGenerator(filterKeyValues);
|
|
30
30
|
}
|
|
31
|
-
console.log("RuleName: " + rule.getName() + " Rule result: " + result); // eslint-disable-line
|
|
31
|
+
// console.log("RuleName: " + rule.getName() + " Rule result: " + result); // eslint-disable-line
|
|
32
32
|
if (!result) {
|
|
33
33
|
return false;
|
|
34
34
|
}
|
|
@@ -20,13 +20,11 @@ export class Duration extends ProgrammesBaseIndexabilityPolicy {
|
|
|
20
20
|
const durationFragments = DurationPresenter.getInstance().getFragments();
|
|
21
21
|
const allowedDurationIds = [DurationFilterOptionValue.ONE_YEAR, DurationFilterOptionValue.TWO_YEARS];
|
|
22
22
|
const allowedDurations = durationFragments.filter(duration => allowedDurationIds.includes(duration.id));
|
|
23
|
-
console.log("Allowed Durations are: " + allowedDurations.map(duration => duration.id).join(", ")); // eslint-disable-line
|
|
24
23
|
const paths = [];
|
|
25
24
|
for (const pageNumber of this.indexablePageNumbers) {
|
|
26
25
|
for (const duration of allowedDurations) {
|
|
27
26
|
const filterKeyValues = new Map([[FilterKey.DURATION, [duration.id]]]);
|
|
28
27
|
const result = await this.checkRulesForSitemapWithPageNumber(filterKeyValues, pageNumber);
|
|
29
|
-
console.log("Checking duration: " + duration.id + " on page: " + pageNumber + " Result: " + result); // eslint-disable-line
|
|
30
28
|
if (result) {
|
|
31
29
|
paths.push(this.getPathWithPageNumber(duration.path, pageNumber));
|
|
32
30
|
}
|
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-13",
|
|
4
4
|
"description": "A package to centralize SEO related logic for SBLP and Sitemap Generator.",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"vitest": "^2.1.8"
|
|
91
91
|
},
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@studyportals/domain-client": "
|
|
93
|
+
"@studyportals/domain-client": "7.1.0",
|
|
94
94
|
"@studyportals/ranking-api-interface": "^1.3.12",
|
|
95
95
|
"@studyportals/search-filters": "^5.1.1-9",
|
|
96
96
|
"@studyportals/static-domain-data": "^6.1.0"
|