Skip to content

Commit

Permalink
fix(header): Replace search-panel with fulltext-search (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
kilchenmann committed Oct 7, 2020
1 parent 4ea3299 commit d234fa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/main/header/header.component.html
Expand Up @@ -12,8 +12,8 @@ <h1 class="mat-headline mobile-only">DSP</h1>

<!-- search-panel (in desktop and tablet version) -->
<span class="action searchbar-large-screen">
<dsp-search-panel [projectfilter]="true" [expert]="false" [advanced]="false" (search)="doSearch($event)">
</dsp-search-panel>
<dsp-fulltext-search [projectfilter]="true" (search)="doSearch($event)">
</dsp-fulltext-search>
<!-- advanced and expert search (in desktop and tablet version) -->
<span class="other-search-link">
<button mat-button color="primary" class="advanced-search-link" routerLink="/search/advanced">
Expand Down
4 changes: 2 additions & 2 deletions src/app/main/header/header.component.spec.ts
Expand Up @@ -95,8 +95,8 @@ describe('HeaderComponent', () => {
expect(loginBtnLabel).toEqual('LOGIN');
});

it('should display the search panel', () => {
const searchPanel = fixture.debugElement.query(By.css('dsp-search-panel'));
it('should display fulltext-search', () => {
const searchPanel = fixture.debugElement.query(By.css('dsp-fulltext-search-panel'));
expect(searchPanel).toBeDefined();
});

Expand Down

0 comments on commit d234fa7

Please sign in to comment.