* add skipping support to mu-find

This commit is contained in:
djcb
2012-12-17 22:30:07 +02:00
parent 76adc694c0
commit 3353e32c28
4 changed files with 11 additions and 10 deletions

View File

@ -127,8 +127,8 @@ run_query (MuQuery *xapian, const gchar *query, MuConfig *opts, GError **err)
qflags |= MU_QUERY_FLAG_THREADS;
if (opts->reverse)
qflags |= MU_QUERY_FLAG_DESCENDING;
if (opts->no_msgid_dups)
qflags |= MU_QUERY_FLAG_SKIP_MSGID_DUPS;
if (opts->no_dups)
qflags |= MU_QUERY_FLAG_SKIP_DUPS;
iter = mu_query_run (xapian, query, sortid, -1, qflags, err);
return iter;