diff --git a/portal-2/src/app/searchPages/searchUtils/searchPage.component.ts b/portal-2/src/app/searchPages/searchUtils/searchPage.component.ts index 6c161406..f16a7210 100644 --- a/portal-2/src/app/searchPages/searchUtils/searchPage.component.ts +++ b/portal-2/src/app/searchPages/searchUtils/searchPage.component.ts @@ -25,7 +25,7 @@ import {ModalLoading} from '../../utils/modal/loading.component'; {{filter.title}}: - {{value.name}} + {{value.name}} , @@ -480,5 +480,16 @@ export class SearchPageComponent { this.loading.close(); } } + getSelectedValues(filter):any{ + var selected = []; + if(filter.countSelectedValues >0){ + for (var i=0; i < filter.values.length; i++){ + if(filter.values[i].selected){ + selected.push(filter.values[i]); + } + } + } + return selected; + } }