extended search to projects

This commit is contained in:
2025-08-19 09:53:17 +02:00
parent dbc091cc3c
commit 990e8253e2
5 changed files with 75 additions and 16 deletions

View File

@@ -121,9 +121,7 @@ CREATE TABLE IF NOT EXISTS {0} (
var query = select(ALL).from(TABLE_TASKS).leftJoin(ID,TABLE_TASKS_USERS,TASK_ID)
.where(USER_ID,equal(userId));
for (var key : keys) query.where(NAME,like("%"+key+"%"));
if (fulltext) {
for (var key : keys) query.where(DESCRIPTION,like("%"+key+"%"));
}
LOG.log(WARNING,"Full-text search not implemented for tasks");
var rs = query.exec(db);
while (rs.next()){