Switch to unified view
a/src/rcldb/searchdata.cpp | b/src/rcldb/searchdata.cpp | ||
---|---|---|---|
... |
... |
||
1046 | 1046 | ||
1047 | vector<Xapian::Query> orqueries; |
1047 | vector<Xapian::Query> orqueries; |
1048 | 1048 | ||
1049 | if (m_text[0] == '/') |
1049 | if (m_text[0] == '/') |
1050 | orqueries.push_back(Xapian::Query(wrap_prefix(pathelt_prefix))); |
1050 | orqueries.push_back(Xapian::Query(wrap_prefix(pathelt_prefix))); |
1051 | else |
||
1052 | m_text = path_tildexpand(m_text); |
||
1051 | 1053 | ||
1052 | vector<string> vpath; |
1054 | vector<string> vpath; |
1053 | stringToTokens(m_text, vpath, "/"); |
1055 | stringToTokens(m_text, vpath, "/"); |
1054 | 1056 | ||
1055 | for (vector<string>::const_iterator pit = vpath.begin(); |
1057 | for (vector<string>::const_iterator pit = vpath.begin(); |