Skip to content

Commit

Permalink
feat(webui): show series for books in search bar
Browse files Browse the repository at this point in the history
closes #678
  • Loading branch information
gotson committed Feb 14, 2022
1 parent 9fe50fd commit 1463078
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions komga-webui/src/components/SearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@
</v-img>
<v-list-item-content>
<v-list-item-title>{{ data.item.metadata.title }}</v-list-item-title>
<v-list-item-subtitle>{{ $t('searchbox.in_library', {library: getLibraryName(data.item)}) }}</v-list-item-subtitle>
<v-list-item-subtitle>{{
$t('searchbox.in_library', {library: getLibraryName(data.item)})
}}
</v-list-item-subtitle>
</v-list-item-content>
</template>

Expand All @@ -66,7 +69,11 @@

<v-list-item-content>
<v-list-item-title>{{ data.item.metadata.title }}</v-list-item-title>
<v-list-item-subtitle>{{ $t('searchbox.in_library', {library: getLibraryName(data.item)}) }}</v-list-item-subtitle>
<v-list-item-subtitle>{{ data.item.seriesTitle }} - {{ data.item.metadata.number }}</v-list-item-subtitle>
<v-list-item-subtitle>{{
$t('searchbox.in_library', {library: getLibraryName(data.item)})
}}
</v-list-item-subtitle>
</v-list-item-content>
</template>

Expand Down

0 comments on commit 1463078

Please sign in to comment.