diff --git a/src/query/wasatorcl.cpp b/src/query/wasatorcl.cpp index 4a2088e4..bc4f7c7a 100644 --- a/src/query/wasatorcl.cpp +++ b/src/query/wasatorcl.cpp @@ -101,7 +101,8 @@ static Rcl::SearchData *wasaQueryToRcl(RclConfig *config, WasaQuery *wasa, // Filtering on location if (!stringicmp("dir", (*it)->m_fieldspec)) { - sdata->setTopdir((*it)->m_value, (*it)->m_op == WasaQuery::OP_EXCL, + string dir = path_tildexpand((*it)->m_value); + sdata->setTopdir(dir, (*it)->m_op == WasaQuery::OP_EXCL, (*it)->m_weight); continue; }