mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-02-15 20:33:26 +00:00
Find duplicate tags without category
This commit is contained in:
parent
6a3386ce66
commit
3771587e55
@ -69,7 +69,7 @@ object RTag {
|
||||
val sql = selectCount(
|
||||
tid,
|
||||
table,
|
||||
and(cid.is(tag.collective), name.is(tag.name), category.is(tag.category))
|
||||
and(cid.is(tag.collective), name.is(tag.name))
|
||||
)
|
||||
sql.query[Int].unique.map(_ > 0)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user