Revision 54614
Added by Konstantina Galouni over 5 years ago
searchPage.component.ts | ||
---|---|---|
52 | 52 |
@Input() openaireLink: string; |
53 | 53 |
@Input() connectCommunityId: string; |
54 | 54 |
@Input() sort: boolean = false; |
55 |
@Input() mapUrl: string = ""; |
|
56 |
@Input() mapTooltipType: string ="content providers"; |
|
57 |
@Input() newQueryButton: boolean = true; |
|
55 | 58 |
//@Input() sortBy: string = ""; |
56 | 59 |
@ViewChild (ModalLoading) loading : ModalLoading ; |
57 | 60 |
public fieldIdsMap;//: { [key:string]:{ name:string, operator:string, type:string, indexField:string, equalityOperator:string }}; |
... | ... | |
481 | 484 |
} |
482 | 485 |
var errorCodes:ErrorCodes = new ErrorCodes(); |
483 | 486 |
if(this.queryParameters.keys() && this.searchUtils.totalResults == 0 && this.searchUtils.status !=errorCodes.LOADING ){ |
484 |
this.showUnknownFilters = true; |
|
487 |
if(this.newQueryButton) { |
|
488 |
this.showUnknownFilters = true; |
|
489 |
} |
|
485 | 490 |
} |
486 | 491 |
return filters; |
487 | 492 |
} |
Also available in: Unified diff
1. Add map url in 'Search Content Providers', 'Search Registries', 'Search Repositories' (Compatible), 'Search Journals' pages.
2. Add tooltips in csv button, table/list view buttons, map button.
3. compatibleDataProvidersTable.component & entityRegistriesTable.component: Add 'Country' filtering in 'Search Registries' and 'Search Repositories' (Compatible) pages.
4. searchHelperClasses.class: Add 'valueIsExact' field in class 'Filter' - so far filter values should be equal to entry of the corresponding column, 'country' needs to be contained.
5. searchPageTableView.component.ts: Bug fix in filtering - when entry's value is too big, do not ignore cut values in filtering.