Merge "search: Add option to disable highlighting query"

This commit is contained in:
jenkins-bot 2021-06-02 19:21:30 +00:00 committed by Gerrit Code Review
commit a15fd2eb80
2 changed files with 7 additions and 1 deletions

View File

@ -16,6 +16,7 @@
:search-language="language"
:show-thumbnail="showThumbnail"
:show-description="showDescription"
:highlight-query="highlightQuery"
@fetch-start="instrumentation.onFetchStart"
@fetch-end="instrumentation.onFetchEnd"
@suggestion-click="instrumentation.onSuggestionClick"
@ -107,6 +108,10 @@ module.exports = {
showDescription: {
type: Boolean,
default: true
},
highlightQuery: {
type: Boolean,
default: true
}
},
data: function () {

View File

@ -270,7 +270,8 @@
"VectorWvuiSearchOptions": {
"value": {
"showThumbnail": true,
"showDescription": true
"showDescription": true,
"highlightQuery": true
}
},
"VectorDefaultSidebarVisibleForAuthorisedUser": {