From 80dd4af7bdd224679b3c2c17328f6498cd4a15d1 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 21 May 2020 16:52:58 -0400 Subject: Fix search expression append Oops. --- scoop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scoop.c b/scoop.c index e22a08e..59adaff 100644 --- a/scoop.c +++ b/scoop.c @@ -470,7 +470,7 @@ int main(int argc, char *argv[]) { } } if (optind < argc) { - queryAdd(SQL(search MATCH :search)); + queryAdd(SQL(AND search MATCH :search)); binds[n++] = Bind(":search", argv[optind], 0); } if (limit) { -- cgit 1.4.1