diff --git a/src/php/recoll/recoll.cpp b/src/php/recoll/recoll.cpp index 143c2aff..bece9d59 100644 --- a/src/php/recoll/recoll.cpp +++ b/src/php/recoll/recoll.cpp @@ -125,7 +125,7 @@ PHP_METHOD(Query, query) // jf: the original implementation built an AND clause. It would // be nice to offer an option, but the next best thing is to // default to the query language - sd = wasaStringToRcl(qs, reason); + sd = wasaStringToRcl(rclconfig, qs, reason); if (!sd) { cerr << "Query string interpretation failed: " << reason << endl; diff --git a/src/python/recoll/pyrecoll.cpp b/src/python/recoll/pyrecoll.cpp index 307c0c06..13341ab4 100644 --- a/src/python/recoll/pyrecoll.cpp +++ b/src/python/recoll/pyrecoll.cpp @@ -642,7 +642,7 @@ Query_execute(recoll_QueryObject* self, PyObject *args, PyObject *kwargs) return 0; } string reason; - Rcl::SearchData *sd = wasaStringToRcl(utf8, reason); + Rcl::SearchData *sd = wasaStringToRcl(rclconfig, utf8, reason); if (!sd) { PyErr_SetString(PyExc_ValueError, reason.c_str());