mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-30 21:05:08 +00:00
Use given folder-id when adding initial fts docs
This commit is contained in:
parent
fe27c0656f
commit
bd20165d1a
@ -36,7 +36,7 @@ object TextExtraction {
|
||||
idxItem = TextData.item(
|
||||
item.item.id,
|
||||
ctx.args.meta.collective,
|
||||
None, //folder
|
||||
ctx.args.meta.folderId,
|
||||
item.item.name.some,
|
||||
None
|
||||
)
|
||||
@ -47,7 +47,7 @@ object TextExtraction {
|
||||
}
|
||||
|
||||
def extractTextIfEmpty[F[_]: Sync: ContextShift](
|
||||
ctx: Context[F, _],
|
||||
ctx: Context[F, ProcessItemArgs],
|
||||
cfg: ExtractConfig,
|
||||
lang: Language,
|
||||
collective: Ident,
|
||||
@ -60,7 +60,7 @@ object TextExtraction {
|
||||
item.item.id,
|
||||
ra.id,
|
||||
collective,
|
||||
None, //folder
|
||||
ctx.args.meta.folderId,
|
||||
lang,
|
||||
ra.name,
|
||||
rm.content
|
||||
|
Loading…
x
Reference in New Issue
Block a user