Trash feature done
This commit is contained in:
@@ -164,7 +164,7 @@ internal class NoteRepositoryImpl(private val db: Database) : NoteRepository {
|
||||
if (tag == null) return db.notes.count { (it.userId eq userId) and (Notes.deleted eq deleted) }
|
||||
|
||||
return db.sequenceOf(Tags).count {
|
||||
(it.name eq tag) and (it.note.userId eq userId) and (Notes.deleted eq deleted)
|
||||
(it.name eq tag) and (it.note.userId eq userId) and (it.note.deleted eq deleted)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user