|
|
@ -18,7 +18,7 @@
|
|
|
|
v-subheader.white--text {{$t('common:header.searchResultsCount', { total: response.totalHits })}}
|
|
|
|
v-subheader.white--text {{$t('common:header.searchResultsCount', { total: response.totalHits })}}
|
|
|
|
v-list.search-results-items.radius-7.py-0(two-line, dense)
|
|
|
|
v-list.search-results-items.radius-7.py-0(two-line, dense)
|
|
|
|
template(v-for='(item, idx) of results')
|
|
|
|
template(v-for='(item, idx) of results')
|
|
|
|
v-list-item(@click='goToPage(item)', :key='item.id', :class='idx === cursor ? `highlighted` : ``')
|
|
|
|
v-list-item(@click='goToPage(item)', @click.middle="goToPageInNewTab(item)", :key='item.id', :class='idx === cursor ? `highlighted` : ``')
|
|
|
|
v-list-item-avatar(tile)
|
|
|
|
v-list-item-avatar(tile)
|
|
|
|
img(src='/_assets/svg/icon-selective-highlighting.svg')
|
|
|
|
img(src='/_assets/svg/icon-selective-highlighting.svg')
|
|
|
|
v-list-item-content
|
|
|
|
v-list-item-content
|
|
|
@ -136,6 +136,9 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
goToPage(item) {
|
|
|
|
goToPage(item) {
|
|
|
|
window.location.assign(`/${item.locale}/${item.path}`)
|
|
|
|
window.location.assign(`/${item.locale}/${item.path}`)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
goToPageInNewTab(item) {
|
|
|
|
|
|
|
|
window.open(`/${item.locale}/${item.path}`, '_blank')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
apollo: {
|
|
|
|
apollo: {
|
|
|
|