diff --git a/client/components/Search/AuthorList/AuthorList.vue b/client/components/Search/AuthorList/AuthorList.vue
index a3e177f..d456d03 100644
--- a/client/components/Search/AuthorList/AuthorList.vue
+++ b/client/components/Search/AuthorList/AuthorList.vue
@@ -25,7 +25,7 @@
{{ getBookCount(item) }}
-
+
@@ -54,6 +54,10 @@
Серия: {{ book.series }}
+
+
+ {{ getSeriesBookCount(book) }}
+
@@ -184,6 +188,22 @@ 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) {
+ if (book.showAllBooks)
+ result = `${book.allBooksLoaded.length}`;
+ result += `/${book.allBooksLoaded.length}`;
+ }
+
+ return `(${result})`;
+ }
+
async expandAuthor(item) {
this.$emit('listEvent', {action: 'ignoreScroll'});