Another check for metadata deleted at missing

pull/14/head
Sam Bosley 12 years ago
parent 44695c0b25
commit d6e466f51a

@ -179,7 +179,7 @@ public final class TagService {
return new QueryTemplate().where(Criterion.and(
Criterion.not(Task.REMOTE_ID.in(Query.select(TagMetadata.TASK_UUID).from(Metadata.TABLE)
.where(Criterion.and(MetadataCriteria.withKey(TagMetadata.KEY), Criterion.not(TagMetadata.TAG_UUID.in(emergentTags)))))),
.where(Criterion.and(MetadataCriteria.withKey(TagMetadata.KEY), Metadata.DELETION_DATE.eq(0), Criterion.not(TagMetadata.TAG_UUID.in(emergentTags)))))),
TaskCriteria.isActive(),
TaskApiDao.TaskCriteria.ownedByMe(),
TaskCriteria.isVisible()));

Loading…
Cancel
Save