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])
+2 -4
View File
@@ -1,12 +1,10 @@
%%~name: Space
%%~path: 15c4492bd5107/f1471bef9f2ae
%%~kind: WORLD/NOTE
%%~hash: bc139a020239c9c0d936aa9d0bcc3644ae2f370c
%%~date: Unknown/2023-08-25 16:52:06
%%~hash: b08c9796fd9918a87e107bf26606e75341a49ce8
%%~date: Unknown/2023-11-03 00:36:58
# Space
@tag: Space
Space … its an awful lot of nothing, with bits in it here and there. Some of which, people like to call home.