mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 02:48:26 +00:00
Fix fulltext search queries for new collective-id
This commit is contained in:
@ -125,7 +125,7 @@ trait JsonCodec {
|
||||
for {
|
||||
itemId <- c.get[Ident](Field.itemId.name)
|
||||
id <- c.get[Ident](Field.id.name)
|
||||
coll <- c.get[Ident](Field.collectiveId.name)
|
||||
coll <- c.get[CollectiveId](Field.collectiveId.name)
|
||||
score <- c.get[Double]("score")
|
||||
md <- decodeMatchData(c)
|
||||
} yield FtsResult.ItemMatch(id, itemId, coll, score, md)
|
||||
|
Reference in New Issue
Block a user