1
0

fix(tasks): ambiguous column name error when fetching favorite tasks

This commit is contained in:
kolaente 2024-06-06 21:50:30 +02:00
parent 92cdf5fe9c
commit acf4e3aa18
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -255,7 +255,7 @@ func (d *dbTaskSearcher) Search(opts *taskSearchOptions) (tasks []*Task, totalCo
builder.Eq{"kind": FavoriteKindTask},
))
favoritesCond = builder.In("id", favCond)
favoritesCond = builder.In("tasks.id", favCond)
}
limit, start := getLimitFromPageIndex(opts.page, opts.perPage)