Работа над расширенным поиском

This commit is contained in:
Book Pauk
2022-12-06 19:03:49 +07:00
parent 51b325d63c
commit 5faa6a1e8f
5 changed files with 37 additions and 1 deletions

View File

@@ -268,6 +268,17 @@ class WebWorker {
return result;
}
async bookSearch(query) {
this.checkMyState();
const result = await this.dbSearcher.bookSearch(query);
const config = await this.dbConfig();
result.inpxHash = (config.inpxHash ? config.inpxHash : '');
return result;
}
async opdsQuery(from, query) {
this.checkMyState();