mirror of
https://github.com/gotson/komga.git
synced 2026-04-16 12:01:09 +02:00
fix: read lists imported from cbl are not added to search index
closes #868
This commit is contained in:
parent
56b097d829
commit
63e3d8a6ae
1 changed files with 1 additions and 2 deletions
|
|
@ -131,8 +131,7 @@ class ReadListLifecycle(
|
||||||
val result = readListMatcher.matchReadListRequest(request)
|
val result = readListMatcher.matchReadListRequest(request)
|
||||||
return when {
|
return when {
|
||||||
result.readList != null -> {
|
result.readList != null -> {
|
||||||
readListRepository.insert(result.readList)
|
result.copy(readList = addReadList(result.readList))
|
||||||
result.copy(readList = readListRepository.findByIdOrNull(result.readList.id)!!)
|
|
||||||
}
|
}
|
||||||
else -> result
|
else -> result
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue