Remove items in non-member folders from sql search results

This commit is contained in:
Eike Kettner
2020-07-11 22:16:09 +02:00
parent 5b95fddf3d
commit e387b5513f
3 changed files with 42 additions and 9 deletions

View File

@ -71,7 +71,7 @@ object NotifyDueItemsTask {
now <- Timestamp.current[F]
q =
QItem.Query
.empty(ctx.args.account.collective)
.empty(ctx.args.account)
.copy(
states = ItemState.validStates.toList,
tagsInclude = ctx.args.tagsInclude,