Commit b40a903d authored by Jean-Francois Dockes's avatar Jean-Francois Dockes
Browse files

uprcl: title search: no way to include mime in clause as it is always a global filter for recoll

parent c8e88aee
......@@ -137,8 +137,9 @@ def _makeSearchExp(out, v, field, oper, neg):
field = fields[i]
out.append(" (")
_searchClauses(out, field, oper, swords, phrases)
if i == 1:
out.append(" AND mime:inode/directory")
# We'd like to do the following to avoid matching reg file names but
# recoll takes all mime: clause as global filters, so can't work
# if i == 1: out.append(" AND mime:inode/directory")
if len(fields) == 2 and i == 0:
out.append(" OR ")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment