Review: The '_reviewed' report now sorts by reviewd and modified

- Sorting by 'reviewed+' means that the least recently reviewed tasks are seen
  first.
- Sorting then by 'modified+' means that the least recently modified tasks are
  seen next.
This commit is contained in:
Paul Beckingham 2015-10-17 22:52:45 -04:00
parent 7f64c92329
commit 30accb83b5

View file

@ -238,10 +238,10 @@ int cmdReview ()
status = execute ("task", {"_get", "rc.report._reviewed.columns"}, input, output);
if (status || output != "uuid\n")
{
execute ("task", {"rc.confirmation:no", "rc.verbose:nothing", "config", "report._reviewed.columns", "uuid" }, input, output);
execute ("task", {"rc.confirmation:no", "rc.verbose:nothing", "config", "report._reviewed.sort", "reviewed+"}, input, output);
execute ("task", {"rc.confirmation:no", "rc.verbose:nothing", "config", "report._reviewed.columns", "uuid" }, input, output);
execute ("task", {"rc.confirmation:no", "rc.verbose:nothing", "config", "report._reviewed.sort", "reviewed+,modified+"}, input, output);
execute ("task", {"rc.confirmation:no", "rc.verbose:nothing", "config", "report._reviewed.filter",
"( reviewed.none: or reviewed.before:now-1week ) and ( +PENDING or +WAITING )" }, input, output);
"( reviewed.none: or reviewed.before:now-1week ) and ( +PENDING or +WAITING )" }, input, output);
}
// Obtain a list of UUIDs to review.