Skip to content

Commit

Permalink
Remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mikiher committed Sep 29, 2024
1 parent 501dc93 commit 37eae34
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion server/Database.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
}

/**
Expand Down
2 changes: 0 additions & 2 deletions server/utils/queries/libraryItemsBookFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 37eae34

Please sign in to comment.