From 3694a03e017343535efe7b07ed9bc3168057a082 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Wed, 30 Jan 2019 13:59:54 +0000 Subject: [PATCH] 1. searchProjects.component.ts: when branch 'changeDeposit' will be merged in trunk, add 'valueIsExact' field initialization in Filter. 2. invite.component: When not validating all emails, empty list of recipients from 'email' structure (next validation will fill it again). git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54673 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/searchPages/simple/searchProjects.component.ts | 2 +- src/app/utils/subscribe/invite/invite.component.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/searchPages/simple/searchProjects.component.ts b/src/app/searchPages/simple/searchProjects.component.ts index 80e7899..51e5f2f 100644 --- a/src/app/searchPages/simple/searchProjects.component.ts +++ b/src/app/searchPages/simple/searchProjects.component.ts @@ -175,7 +175,7 @@ export class OpenaireSearchProjectsComponent { var value:Value = {name: value_names[i][j], id: value_original_ids[i][j], number:j, selected:false} values.push(value); } - var filter:Filter = {title: filter_names[i], filterId: filter_ids[i], originalFilterId: filter_original_ids[i], values : values, countSelectedValues:0, "filterOperator": 'or' }; + var filter:Filter = {title: filter_names[i], filterId: filter_ids[i], originalFilterId: filter_original_ids[i], values : values, countSelectedValues:0, "filterOperator": 'or'};//, valueIsExact: true }; filters.push(filter); console.info(filter); } diff --git a/src/app/utils/subscribe/invite/invite.component.ts b/src/app/utils/subscribe/invite/invite.component.ts index 01165db..ed3ce20 100644 --- a/src/app/utils/subscribe/invite/invite.component.ts +++ b/src/app/utils/subscribe/invite/invite.component.ts @@ -141,6 +141,7 @@ export class InviteComponent implements OnInit { } ); } else { + this.email.recipients = []; this.scroll(); this.status = this.errorCodes.DONE; }