* paper over the missing options bug (WIP)

This commit is contained in:
djcb
2012-12-23 00:04:09 +02:00
parent c5f8ea6451
commit f3654aa22b
4 changed files with 20 additions and 13 deletions

View File

@ -127,7 +127,7 @@ 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_dups)
if (opts->skip_dups)
qflags |= MU_QUERY_FLAG_SKIP_DUPS;
iter = mu_query_run (xapian, query, sortid, -1, qflags, err);