diff --git a/searchPages/searchUtils/searchFilter.component.html b/searchPages/searchUtils/searchFilter.component.html index 43b27c27..725ca4fc 100644 --- a/searchPages/searchUtils/searchFilter.component.html +++ b/searchPages/searchUtils/searchFilter.component.html @@ -47,7 +47,7 @@
{{_formatName(value)}}
- ({{value.number}}) + ({{value.number|number}})
diff --git a/searchPages/searchUtils/searchFilter.component.ts b/searchPages/searchUtils/searchFilter.component.ts index 63601c86..c296466d 100644 --- a/searchPages/searchUtils/searchFilter.component.ts +++ b/searchPages/searchUtils/searchFilter.component.ts @@ -104,17 +104,17 @@ export class SearchFilterComponent { return selected; } - getNotSelectedValues(filter, sortBy):any{ + getNotSelectedValues(filter, sortBy:string = "num"):any{ var notSselected = []; - if(filter.countSelectedValues >0){ + //if(filter.countSelectedValues >0){ for (var i=0; i < filter.values.length; i++){ if(!filter.values[i].selected){ notSselected.push(filter.values[i]); } } - }else { - notSselected = filter.values; - } + //}else { + // notSselected = filter.values; + //} if(sortBy == "name"){