Skip to content

Commit

Permalink
feat(build): fix quoting of FTS5 query
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink committed Jul 10, 2018
1 parent c5ed71a commit 0112827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports.hasSubject = function( subject, cb ){
} else {
this._queryBool(
this.prepare( query.has_subject_autocomplete ),
{ subject: subject },
{ subject: `"${subject}"` },
cb
);
}
Expand Down

0 comments on commit 0112827

Please sign in to comment.