UI.modern.session.search_history.suggest.display_template
Specify the template for the search history suggestions
Key: ui.modern.session.search_history.suggest.display_template
Type: String
Can be set in: profile.cfg, collection.cfg
Description
You can specify a template for search history suggestions to define how each suggestion should be displayed when ui.modern.session.search_history.suggest is enabled
It's using a micro-templating system allowing you to choose which fields should be displayed for each suggestions. The following tokens are available:
- query: Previous query run
- totalMatching: Number of results the query yielded
Tokens are used in brackets, e.g. {query}
. The modern UI will replace the token with actual values when rendering the suggestions.
Default Value
ui.modern.session.search_history.suggest.display_template={query} <small>({totalMatching})</small>
Examples
Only display the query in italics:
ui.modern.session.search_history.suggest.display_template=<em>{query}</em>
See Also
- Search session and history
- Specify whether to enable the search sessions in the Modern UI.
- Specify how long should Funnelback keep the session since the last visit of the search user.
- Specify the size of the search and click history stored for each user
- Specify whether to display search history in the auto-completion suggestions
- Specify the name of the category which search history suggestions are displayed