Revert unicode sqlite extension to fix db corruption #3241

This commit is contained in:
advplyr 2024-08-09 16:41:52 -05:00
parent c5ba40a178
commit 3a1e9abd68
4 changed files with 9 additions and 9 deletions

View file

@ -975,7 +975,7 @@ module.exports = {
async search(oldUser, oldLibrary, query, limit, offset) {
const userPermissionBookWhere = this.getUserPermissionBookWhereQuery(oldUser)
const normalizedQuery = await Database.getNormalizedQuery(query)
const normalizedQuery = query
const matchTitle = Database.matchExpression('title', normalizedQuery)
const matchSubtitle = Database.matchExpression('subtitle', normalizedQuery)

View file

@ -314,7 +314,7 @@ module.exports = {
async search(oldUser, oldLibrary, query, limit, offset) {
const userPermissionPodcastWhere = this.getUserPermissionPodcastWhereQuery(oldUser)
const normalizedQuery = await Database.getNormalizedQuery(query)
const normalizedQuery = query
const matchTitle = Database.matchExpression('title', normalizedQuery)
const matchAuthor = Database.matchExpression('author', normalizedQuery)