Switch to unified view
a/src/query/wasatorcl.cpp | b/src/query/wasatorcl.cpp | ||
---|---|---|---|
... |
... |
||
99 | continue; |
99 | continue; |
100 | } |
100 | } |
101 | 101 | ||
102 | // Filtering on location |
102 | // Filtering on location |
103 | if (!stringicmp("dir", (*it)->m_fieldspec)) { |
103 | if (!stringicmp("dir", (*it)->m_fieldspec)) { |
104 | string dir = path_tildexpand((*it)->m_value); |
||
104 | sdata->setTopdir((*it)->m_value, (*it)->m_op == WasaQuery::OP_EXCL, |
105 | sdata->setTopdir(dir, (*it)->m_op == WasaQuery::OP_EXCL, |
105 | (*it)->m_weight); |
106 | (*it)->m_weight); |
106 | continue; |
107 | continue; |
107 | } |
108 | } |
108 | 109 | ||
109 | // Handle "date" spec |
110 | // Handle "date" spec |