|
a/src/query/wasaparse.cpp |
|
b/src/query/wasaparse.cpp |
|
... |
|
... |
198 |
if (!stringicmp("dir", fld)) {
|
198 |
if (!stringicmp("dir", fld)) {
|
199 |
// dir filtering special case
|
199 |
// dir filtering special case
|
200 |
SearchDataClausePath *nclause =
|
200 |
SearchDataClausePath *nclause =
|
201 |
new SearchDataClausePath(cl->gettext(), cl->getexclude());
|
201 |
new SearchDataClausePath(cl->gettext(), cl->getexclude());
|
202 |
delete cl;
|
202 |
delete cl;
|
203 |
sd->addClause(nclause);
|
203 |
return sd->addClause(nclause);
|
204 |
}
|
204 |
}
|
205 |
|
205 |
|
206 |
if (cl->getTp() == SCLT_OR || cl->getTp() == SCLT_AND) {
|
206 |
if (cl->getTp() == SCLT_OR || cl->getTp() == SCLT_AND) {
|
207 |
// If this is a normal clause and the term has commas or
|
207 |
// If this is a normal clause and the term has commas or
|
208 |
// slashes inside, take it as a list, turn the slashes/commas
|
208 |
// slashes inside, take it as a list, turn the slashes/commas
|