From 0112827a14b901ca367da9e5cbaafa82ab922837 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 9 Jul 2018 18:10:07 +0200 Subject: [PATCH] feat(build): fix quoting of FTS5 query --- lib/Queries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Queries.js b/lib/Queries.js index f4b392cb..ae6045c7 100644 --- a/lib/Queries.js +++ b/lib/Queries.js @@ -68,7 +68,7 @@ module.exports.hasSubject = function( subject, cb ){ } else { this._queryBool( this.prepare( query.has_subject_autocomplete ), - { subject: subject }, + { subject: `"${subject}"` }, cb ); }