Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSP-674 Replace search-panel with fulltext-search #313

Merged
merged 1 commit into from Oct 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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