diff --git a/searchPages/find/searchAll.component.html b/searchPages/find/searchAll.component.html index b4aac1bc..40a3ba52 100644 --- a/searchPages/find/searchAll.component.html +++ b/searchPages/find/searchAll.component.html @@ -67,11 +67,11 @@ - - + --> diff --git a/searchPages/find/searchAll.component.ts b/searchPages/find/searchAll.component.ts index 0a8a9527..7353bceb 100644 --- a/searchPages/find/searchAll.component.ts +++ b/searchPages/find/searchAll.component.ts @@ -338,6 +338,8 @@ export class SearchAllComponent { delete this.parameters['fv0']; } } + /* + //quickSelection moved inside the searchpage private prepareResultParameters() { //quickSelections if (this.resultTypes && this.activeEntity == "result") { @@ -368,7 +370,7 @@ export class SearchAllComponent { this.parameters["page"] = 1; this.reload[this.activeEntity] = true; this.router.navigate([location.pathname], {queryParams: this.parameters}); - } + }*/ public keywordChanged($event) { diff --git a/searchPages/find/searchAll.module.ts b/searchPages/find/searchAll.module.ts index 76d1dd7e..76a583aa 100644 --- a/searchPages/find/searchAll.module.ts +++ b/searchPages/find/searchAll.module.ts @@ -18,7 +18,6 @@ import { SEOServiceModule } from '../../sharedComponents/SEO/SEOService.module'; import {SearchAllComponent} from "./searchAll.component"; import {AdvancedSearchFormModule} from "../searchUtils/advancedSearchForm.module"; import {SearchResearchResultsModule} from "../searchResearchResults.module"; -import {QuickSelectionsModule} from "../searchUtils/quick-selections.module"; import {SearchProjectsModule} from "../searchProjects.module"; import {SearchOrganizationsModule} from "../searchOrganizations.module"; import {SearchDataProvidersModule} from "../searchDataProviders.module"; @@ -28,7 +27,7 @@ import {SearchDataProvidersModule} from "../searchDataProviders.module"; CommonModule, FormsModule, RouterModule, DataProvidersServiceModule, ProjectsServiceModule, SearchResearchResultsServiceModule, OrganizationsServiceModule, - BrowseEntitiesModule, SearchResultsModule, PiwikServiceModule, Schema2jsonldModule, SEOServiceModule, AdvancedSearchFormModule, SearchResearchResultsModule, QuickSelectionsModule, SearchProjectsModule, SearchOrganizationsModule, SearchDataProvidersModule + BrowseEntitiesModule, SearchResultsModule, PiwikServiceModule, Schema2jsonldModule, SEOServiceModule, AdvancedSearchFormModule, SearchResearchResultsModule, SearchProjectsModule, SearchOrganizationsModule, SearchDataProvidersModule ], declarations: [ SearchAllComponent diff --git a/searchPages/searchResearchResults.component.ts b/searchPages/searchResearchResults.component.ts index d94b0de6..1ea53f2b 100644 --- a/searchPages/searchResearchResults.component.ts +++ b/searchPages/searchResearchResults.component.ts @@ -33,7 +33,7 @@ import {RangeFilter} from "../utils/rangeFilter/rangeFilterHelperClasses.class"; [filters]="filters" [quickFilter]="quickFilter" [rangeFilters]="rangeFilters" [rangeFields]="rangeFields" [simpleView]="simpleView" formPlaceholderText="Search by title, author, abstract, DOI, orcid..." - [includeOnlyResultsAndFilter]="includeOnlyResultsAndFilter" [showBreadcrumb]="showBreadcrumb" + [includeOnlyResultsAndFilter]="includeOnlyResultsAndFilter" [showBreadcrumb]="showBreadcrumb" [showAdvancedSearchLink]="showAdvancedSearchLink" > @@ -84,6 +84,7 @@ export class SearchResearchResultsComponent { @Input() includeOnlyResultsAndFilter: boolean = false; @Input() showBreadcrumb:boolean = false; @Output() searchPageUpdates = new EventEmitter(); + @Input() showAdvancedSearchLink:boolean = true; subs: any[]=[]; constructor(private route: ActivatedRoute, private _searchResearchResultsService: SearchResearchResultsService) { this.results = []; diff --git a/searchPages/searchUtils/advancedSearchForm.component.html b/searchPages/searchUtils/advancedSearchForm.component.html index 1b16878f..67a10528 100644 --- a/searchPages/searchUtils/advancedSearchForm.component.html +++ b/searchPages/searchUtils/advancedSearchForm.component.html @@ -18,7 +18,7 @@
@@ -147,7 +147,7 @@ [placeholder]="formPlaceholderText" aria-describedby="sizing-addon2" [(ngModel)]="selectedFields[0].value" name="keyword"> -
+
diff --git a/searchPages/searchUtils/newSearchPage.component.html b/searchPages/searchUtils/newSearchPage.component.html index 81643e77..8693f6b0 100644 --- a/searchPages/searchUtils/newSearchPage.component.html +++ b/searchPages/searchUtils/newSearchPage.component.html @@ -112,7 +112,7 @@
Home > Search
-
+
@@ -249,8 +249,9 @@
-
- + Advanced search diff --git a/searchPages/searchUtils/quick-selections.component.ts b/searchPages/searchUtils/quick-selections.component.ts index 142fdf63..6738636c 100644 --- a/searchPages/searchUtils/quick-selections.component.ts +++ b/searchPages/searchUtils/quick-selections.component.ts @@ -9,21 +9,21 @@ import {debounceTime} from "rxjs/operators"; @Component({ selector: 'quick-selections', template: ` -
-
+ +
{{quickFilter.value}}
-
+
Include: - - Publications - Research data - Software - Other research products - + + Publications + Research data + Software + Other research products +
`