Remove tags.

This commit is contained in:
Paulo Gustavo Veiga
2022-10-03 16:14:23 -07:00
parent f0531551d7
commit 2146e2e457
5 changed files with 1 additions and 42 deletions

View File

@@ -148,13 +148,6 @@ public class MindmapManagerImpl
final SimpleExpression descriptionRestriction = Restrictions.like("description", "%" + criteria.getDescription() + "%");
junction.add(descriptionRestriction);
}
if (criteria.getTags().size() > 0) {
for (String tag : criteria.getTags()) {
final SimpleExpression tagRestriction = Restrictions.like("tags", "%" + tag + "%");
junction.add(tagRestriction);
}
}
hibernateCriteria.add(junction);
}
return hibernateCriteria.list();