diff --git a/src/app/pages/advanced-criteria/advanced-criteria.component.ts b/src/app/pages/advanced-criteria/advanced-criteria.component.ts
index 01366f6..e7dd57c 100644
--- a/src/app/pages/advanced-criteria/advanced-criteria.component.ts
+++ b/src/app/pages/advanced-criteria/advanced-criteria.component.ts
@@ -36,7 +36,7 @@ import {CommunityInfo} from "../../openaireLibrary/connect/community/communityIn
0" class="uk-margin-small-bottom">
Criteria
-
+
No criteria yet
diff --git a/src/app/pages/content-providers/criteria-utils.ts b/src/app/pages/content-providers/criteria-utils.ts
index 6637eb5..e069da3 100644
--- a/src/app/pages/content-providers/criteria-utils.ts
+++ b/src/app/pages/content-providers/criteria-utils.ts
@@ -28,8 +28,8 @@ export class CriteriaUtils {
{value: 'greater_than', label: 'greater than'}
]
- public getFiltersAsText(criteria: Criteria[]): string {
- let text = criteria.slice(0, 3).map((criterion, index) => (index + 1) + ". " + criterion.constraint.map(constraint => {
+ public getFiltersAsText(criteria: Criteria[], shortVersion=true): string {
+ let text = criteria.slice(0, shortVersion?3:criteria.length).map((criterion, index) => (index + 1) + ". " + criterion.constraint.map(constraint => {
let field = this.fields.find(field => field.value === constraint.field)?.label;
let matchCase = false;
if (!constraint.verb.includes('_caseinsensitive')) {