Skip to content

Search panel (Component)

The search-panel contains the list of projects to filter and kui-fulltext-search and links to kui-extended-search and kui-expert-search.

Parameters

Name Type Description
route string Route to navigate after search. This route path should contain a component for search results.
projectfilter (optional) boolean If true it shows the selection of projects to filter by one of them
filterbyproject (optional) string If your full-text search should be filtered by one project, you can define it with project iri in the parameter filterbyproject
advanced (optional) boolean Adds the extended / advanced search to the panel
expert (optional) boolean Adds the expert search / gravsearch editor to the panel

Examples

Implement the search panel in your HTML file:

<kui-search-panel
    [filterbyproject]="http://rdfh.ch/projects/0001"
    [projectfilter]="true"
    [advanced]="true"
    [expert]="true">
</kui-search-panel>

<router-outlet></router-outlet>

Full search panel