mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 09:58:26 +00:00
Preserve context highlighting from full-text search
When replacing changed cards the fulltext highlighting should be preserved from the original item.
This commit is contained in:
@ -92,7 +92,7 @@ replaceIn origin replacements =
|
||||
replaceItem item =
|
||||
case Dict.get item.id newItems of
|
||||
Just ni ->
|
||||
ni
|
||||
{ ni | highlighting = item.highlighting }
|
||||
|
||||
Nothing ->
|
||||
item
|
||||
|
Reference in New Issue
Block a user