64df17d834
1. utils/rangeFilter/: range filters added to describe year range queries (currently used in types: result & project). 2. utils/properties/searchFields.ts: 'uniqueValue: boolean' changed to 'filterType: string' with value among: null (if this is not a range/refine filter), radio, checkbox, range. RANGE_FIELDS added for each type needed. 'fieldHasUniqueValue()' method renamed to 'getFieldFilterType()' method. 'getFieldParam()' method added. 3. utils/properties/searchFields.ts & services/servicesUtils/refineResults.class.ts & searchPages/searchUtils/searchHelperClasses.class.ts & searchPages/dataProviders/ & searchPages/searchDataProviders.component.ts & searchPages/searchOrganizations.component.ts: 'filterType' field is used. 4. searchPages/searchProjects.component.ts & searchPages/searchResearchResults.component.ts: Initialize and use in calculations range filters. 5. searchPages/searchUtils/searchFilter.component: Update filters to match redesign & use them everywhere (not special case if search or deposit). 6. searchPages/searchUtils/newSearchPage.component: Update filters to match redesign and add range filters. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58105 d315682c-612b-4755-9ff5-7f18f6832af3 |
||
---|---|---|
.. | ||
fromYearAfterToYear.directive.ts | ||
inValidYear.directive.ts | ||
rangeFilter.component.html | ||
rangeFilter.component.ts | ||
rangeFilter.module.ts | ||
rangeFilterHelperClasses.class.ts |