mirror of
https://github.com/gotson/komga.git
synced 2025-12-18 22:43:42 +01: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)
|
||||
return when {
|
||||
result.readList != null -> {
|
||||
readListRepository.insert(result.readList)
|
||||
result.copy(readList = readListRepository.findByIdOrNull(result.readList.id)!!)
|
||||
result.copy(readList = addReadList(result.readList))
|
||||
}
|
||||
else -> result
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue