mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 09:58:26 +00:00
Find duplicate tags without category
This commit is contained in:
@ -69,7 +69,7 @@ object RTag {
|
|||||||
val sql = selectCount(
|
val sql = selectCount(
|
||||||
tid,
|
tid,
|
||||||
table,
|
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)
|
sql.query[Int].unique.map(_ > 0)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user