diff --git a/client/components/Search/Search.vue b/client/components/Search/Search.vue
index 7c61fa5..f9b9fef 100644
--- a/client/components/Search/Search.vue
+++ b/client/components/Search/Search.vue
@@ -449,11 +449,57 @@ class Search {
}
showCollectionInfo() {
- this.$root.stdDialog.alert(`
-
- Здесь должна быть информация о коллекции
-
- `, 'Статистика по коллекции', {iconName: 'la la-info-circle'});
+/*
+ "dbConfig": {
+ "inpxInfo": {
+ "collection": "Flibusta Offline 2 August 2022\r\nflibusta_all_local_2022-08-02\r\n65537\r\nFlibusta. A local collection. Total: 636591 books\r\nhttp://flibusta.is/",
+ "structure": "AUTHOR;GENRE;TITLE;SERIES;SERNO;FILE;SIZE;LIBID;DEL;EXT;DATE;INSNO;FOLDER;LANG;LIBRATE;KEYWORDS;",
+ "version": "20220802"
+ },
+ "stats": {
+ "recsLoaded": 687063,
+ "authorCount": 153364,
+ "authorCountAll": 177034,
+ "bookCount": 576018,
+ "bookCountAll": 687063,
+ "bookDelCount": 111045,
+ "noAuthorBookCount": 4347,
+ "titleCount": 512671,
+ "seriesCount": 54472,
+ "genreCount": 238,
+ "langCount": 102
+ },
+*/
+ let info = '';
+ const inpxInfo = this.config.dbConfig.inpxInfo;
+ const stat = this.config.dbConfig.stats;
+ const keyStyle = 'style="display: inline-block; text-align: right; margin-right: 5px; min-width: 200px"';
+ info += ``;
+
+ info += `
+Найдено ссылок на файлы:
${stat.bookCountAll}
+Из них актуальных:
${stat.bookCount}
+Помеченных как удаленные:
${stat.bookDelCount}
+Без автора:
${stat.noAuthorBookCount}
+
+Распознано авторов:
${stat.authorCountAll}
+Авторов без соавторов:
${stat.authorCount}
+
+Уникальных названий книг:
${stat.titleCount}
+Уникальных серий:
${stat.seriesCount}
+Найдено жанров:
${stat.genreCount}
+Найдено языков:
${stat.langCount}
+
+`;
+
+ info += `
+
+
collection.info:
+
${inpxInfo.collection}
+
+`;
+
+ this.$root.stdDialog.alert(info, 'Статистика по коллекции', {iconName: 'la la-info-circle'});
}
selectGenre() {
@@ -696,7 +742,7 @@ class Search {
await this.getBooks(item);
- if (expanded.length > 100) {
+ if (expanded.length > 10) {
expanded.shift();
}