Fix bug where tags were lost in the index when saving a document
This commit is contained in:
@@ -404,7 +404,7 @@ class NWIndex:
|
|||||||
tagName = tBits[1]
|
tagName = tBits[1]
|
||||||
self._tagsIndex.add(tagName, tHandle, sTitle, itemClass)
|
self._tagsIndex.add(tagName, tHandle, sTitle, itemClass)
|
||||||
self._itemIndex.setHeadingTag(tHandle, sTitle, tagName)
|
self._itemIndex.setHeadingTag(tHandle, sTitle, tagName)
|
||||||
tags[tagName] = True
|
tags[tagName.lower()] = True
|
||||||
else:
|
else:
|
||||||
self._itemIndex.addHeadingRef(tHandle, sTitle, tBits[1:], tBits[0])
|
self._itemIndex.addHeadingRef(tHandle, sTitle, tBits[1:], tBits[0])
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
%%~name: Space
|
%%~name: Space
|
||||||
%%~path: 15c4492bd5107/f1471bef9f2ae
|
%%~path: 15c4492bd5107/f1471bef9f2ae
|
||||||
%%~kind: WORLD/NOTE
|
%%~kind: WORLD/NOTE
|
||||||
%%~hash: bc139a020239c9c0d936aa9d0bcc3644ae2f370c
|
%%~hash: b08c9796fd9918a87e107bf26606e75341a49ce8
|
||||||
%%~date: Unknown/2023-08-25 16:52:06
|
%%~date: Unknown/2023-11-03 00:36:58
|
||||||
# Space
|
# Space
|
||||||
|
|
||||||
@tag: Space
|
@tag: Space
|
||||||
|
|
||||||
Space … it’s an awful lot of nothing, with bits in it here and there. Some of which, people like to call home.
|
Space … it’s an awful lot of nothing, with bits in it here and there. Some of which, people like to call home.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user