Fix bug where tags were lost in the index when saving a document

This commit is contained in:
Veronica Berglyd Olsen
2023-11-03 00:39:24 +01:00
parent b0e3cf1a3a
commit d67cef2611
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -404,7 +404,7 @@ class NWIndex:
tagName = tBits[1]
self._tagsIndex.add(tagName, tHandle, sTitle, itemClass)
self._itemIndex.setHeadingTag(tHandle, sTitle, tagName)
tags[tagName] = True
tags[tagName.lower()] = True
else:
self._itemIndex.addHeadingRef(tHandle, sTitle, tBits[1:], tBits[0])