From 58f2483b97705ec2990aa2f00841752dc66489bd Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Mon, 10 Oct 2022 22:03:59 +0700 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D1=8C=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B2=D1=81=D0=B5=D1=85=20=D0=BA?= =?UTF-8?q?=D0=BD=D0=B8=D0=B3=20=D1=81=D0=B5=D1=80=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Api/Api.vue | 4 +- .../components/Search/BookView/BookView.vue | 72 ++++++++++------- client/components/Search/Search.vue | 78 +++++++++++++++---- server/controllers/WebSocketController.js | 6 +- server/core/DbSearcher.js | 7 +- 5 files changed, 113 insertions(+), 54 deletions(-) diff --git a/client/components/Api/Api.vue b/client/components/Api/Api.vue index 43eb9a6..b0b7df0 100644 --- a/client/components/Api/Api.vue +++ b/client/components/Api/Api.vue @@ -221,8 +221,8 @@ class Api { return response; } - async getSeriesBookList(seriesId) { - const response = await this.request({action: 'get-series-book-list', seriesId}); + async getSeriesBookList(series) { + const response = await this.request({action: 'get-series-book-list', series}); if (response.error) { throw new Error(response.error); diff --git a/client/components/Search/BookView/BookView.vue b/client/components/Search/BookView/BookView.vue index 8672277..4e25e3b 100644 --- a/client/components/Search/BookView/BookView.vue +++ b/client/components/Search/BookView/BookView.vue @@ -1,38 +1,40 @@