Include all active and visible tasks in My Tasks

pull/437/head
Alex Baker 8 years ago
parent f73ac45b2d
commit 66e4d4380c

@ -84,11 +84,7 @@ public final class BuiltInFilterExposer {
*/
public static Filter getMyTasksFilter(Resources r) {
return new Filter(r.getString(R.string.BFE_Active),
new QueryTemplate().where(
Criterion.and(TaskCriteria.activeAndVisible(),
Criterion.not(Task.ID.in(Query.select(Metadata.TASK).from(Metadata.TABLE).where(
Criterion.and(MetadataCriteria.withKey(TaskToTagMetadata.KEY),
TaskToTagMetadata.TAG_NAME.like("x_%", "x"))))))), //$NON-NLS-1$ //$NON-NLS-2$
new QueryTemplate().where(TaskCriteria.activeAndVisible()),
null);
}

Loading…
Cancel
Save