From 37eae3406c9bfec59e4ba8a4c5e1c8f6f038380a Mon Sep 17 00:00:00 2001 From: mikiher Date: Sun, 29 Sep 2024 12:27:30 +0300 Subject: [PATCH] Remove debug messages --- server/Database.js | 1 - server/utils/queries/libraryItemsBookFilters.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/server/Database.js b/server/Database.js index d71d5378..a936327d 100644 --- a/server/Database.js +++ b/server/Database.js @@ -786,7 +786,6 @@ class Database { const normalizedQueryResult = await this.sequelize.query(`SELECT ${normalizedQueryExpression} as normalized_query`) const normalizedQuery = normalizedQueryResult[0][0].normalized_query this.hasAccents = escapedQuery !== this.sequelize.escape(normalizedQuery) - Logger.debug(`[TextSearchQuery] hasAccents: ${this.hasAccents}`) } /** diff --git a/server/utils/queries/libraryItemsBookFilters.js b/server/utils/queries/libraryItemsBookFilters.js index 2b9ce756..6bafa225 100644 --- a/server/utils/queries/libraryItemsBookFilters.js +++ b/server/utils/queries/libraryItemsBookFilters.js @@ -979,8 +979,6 @@ module.exports = { const matchTitle = textSearchQuery.matchExpression('title') const matchSubtitle = textSearchQuery.matchExpression('subtitle') - Logger.debug(`[libraryItemsBookFilters] matchTitle: ${matchTitle}`) - Logger.debug(`[libraryItemsBookFilters] matchSubtitle: ${matchSubtitle}`) // Search title, subtitle, asin, isbn const books = await Database.bookModel.findAll({