mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-05-27 01:18:24 +02:00
Remove debug messages
This commit is contained in:
parent
501dc938e6
commit
37eae3406c
@ -786,7 +786,6 @@ class Database {
|
|||||||
const normalizedQueryResult = await this.sequelize.query(`SELECT ${normalizedQueryExpression} as normalized_query`)
|
const normalizedQueryResult = await this.sequelize.query(`SELECT ${normalizedQueryExpression} as normalized_query`)
|
||||||
const normalizedQuery = normalizedQueryResult[0][0].normalized_query
|
const normalizedQuery = normalizedQueryResult[0][0].normalized_query
|
||||||
this.hasAccents = escapedQuery !== this.sequelize.escape(normalizedQuery)
|
this.hasAccents = escapedQuery !== this.sequelize.escape(normalizedQuery)
|
||||||
Logger.debug(`[TextSearchQuery] hasAccents: ${this.hasAccents}`)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -979,8 +979,6 @@ module.exports = {
|
|||||||
|
|
||||||
const matchTitle = textSearchQuery.matchExpression('title')
|
const matchTitle = textSearchQuery.matchExpression('title')
|
||||||
const matchSubtitle = textSearchQuery.matchExpression('subtitle')
|
const matchSubtitle = textSearchQuery.matchExpression('subtitle')
|
||||||
Logger.debug(`[libraryItemsBookFilters] matchTitle: ${matchTitle}`)
|
|
||||||
Logger.debug(`[libraryItemsBookFilters] matchSubtitle: ${matchSubtitle}`)
|
|
||||||
|
|
||||||
// Search title, subtitle, asin, isbn
|
// Search title, subtitle, asin, isbn
|
||||||
const books = await Database.bookModel.findAll({
|
const books = await Database.bookModel.findAll({
|
||||||
|
Loading…
Reference in New Issue
Block a user