search page: group time filters (e.g projects -> startdate, enddate, activewithin)
This commit is contained in:
parent
d69b0d0bb5
commit
2d8be41146
|
@ -98,10 +98,6 @@
|
||||||
(onFilterChange)="filterChanged($event)" [quickFilter]="quickFilter"
|
(onFilterChange)="filterChanged($event)" [quickFilter]="quickFilter"
|
||||||
[actionRoute]="true"></search-filter>
|
[actionRoute]="true"></search-filter>
|
||||||
</li>
|
</li>
|
||||||
<li *ngFor="let filter of rangeFilters">
|
|
||||||
<range-filter [isDisabled]="disabled" [filter]="filter"
|
|
||||||
(onFilterChange)="filterChanged($event)" [actionRoute]="true"></range-filter>
|
|
||||||
</li>
|
|
||||||
<ng-container *ngFor="let filter of filters ">
|
<ng-container *ngFor="let filter of filters ">
|
||||||
<li *ngIf="filter.values && filter.values.length > 0 && filter.filterId != 'resultbestaccessright'">
|
<li *ngIf="filter.values && filter.values.length > 0 && filter.filterId != 'resultbestaccessright'">
|
||||||
<search-filter [filterValuesNum]="filterValuesNum" [showMoreInline]="showMoreFilterValuesInline"
|
<search-filter [filterValuesNum]="filterValuesNum" [showMoreInline]="showMoreFilterValuesInline"
|
||||||
|
@ -110,6 +106,10 @@
|
||||||
(onFilterChange)="filterChanged($event)" [actionRoute]="true"></search-filter>
|
(onFilterChange)="filterChanged($event)" [actionRoute]="true"></search-filter>
|
||||||
</li>
|
</li>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
<li *ngFor="let filter of rangeFilters">
|
||||||
|
<range-filter [isDisabled]="disabled" [filter]="filter"
|
||||||
|
(onFilterChange)="filterChanged($event)" [actionRoute]="true"></range-filter>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
|
@ -265,7 +265,7 @@ export class SearchFields {
|
||||||
["projectendyear", "projectstartyear"]
|
["projectendyear", "projectstartyear"]
|
||||||
];
|
];
|
||||||
public PROJECT_REFINE_FIELDS: string[] = ["funder", "fundinglevel0_id", "fundinglevel1_id",
|
public PROJECT_REFINE_FIELDS: string[] = ["funder", "fundinglevel0_id", "fundinglevel1_id",
|
||||||
"fundinglevel2_id", "projectstartyear", "projectendyear", "projectoamandatepublications"];
|
"fundinglevel2_id", "projectoamandatepublications", "projectstartyear", "projectendyear"];
|
||||||
public PROJECT_ADVANCED_FIELDS: string[] = ["q", "projectacronym", "projecttitle", "projectkeywords",
|
public PROJECT_ADVANCED_FIELDS: string[] = ["q", "projectacronym", "projecttitle", "projectkeywords",
|
||||||
"funder", "fundinglevel0_id", "fundinglevel1_id", "fundinglevel2_id",
|
"funder", "fundinglevel0_id", "fundinglevel1_id", "fundinglevel2_id",
|
||||||
"projectstartdate", "projectenddate",
|
"projectstartdate", "projectenddate",
|
||||||
|
|
Loading…
Reference in New Issue