diff options
author | June McEnroe <june@causal.agency> | 2020-05-21 16:52:58 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-05-21 16:52:58 -0400 |
commit | 80dd4af7bdd224679b3c2c17328f6498cd4a15d1 (patch) | |
tree | 36e909fd4b80c70ee1c63835768f62100620b282 | |
parent | Fix dbPrepare errx call (diff) | |
download | litterbox-80dd4af7bdd224679b3c2c17328f6498cd4a15d1.tar.gz litterbox-80dd4af7bdd224679b3c2c17328f6498cd4a15d1.zip |
Fix search expression append
Oops.
-rw-r--r-- | scoop.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |