@@ -184,6 +188,20 @@ class AuthorList extends BaseList {
return `(${result})`;
}
+ getSeriesBookCount(book) {
+ let result = '';
+ if (!this.showCounts || book.type != 'series')
+ return result;
+
+ let count = book.seriesBooks.length;
+ result = `${count}`;
+ if (book.allBooksLoaded) {
+ result += `/${book.allBooksLoaded.length}`;
+ }
+
+ return `(${result})`;
+ }
+
async expandAuthor(item) {
this.$emit('listEvent', {action: 'ignoreScroll'});
diff --git a/client/components/Search/Search.vue b/client/components/Search/Search.vue
index 58b17b1..4292d95 100644
--- a/client/components/Search/Search.vue
+++ b/client/components/Search/Search.vue
@@ -46,6 +46,14 @@
+
+
+
+
+ Выход
+
+
+