mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-14 06:17:20 +00:00
Fix for index ordering issue
Fixes #4082 This version removes selective updating of the tag index, instead completely clearing the index on each update. I'm investigating restoring that optimisation.
This commit is contained in:
@@ -491,7 +491,7 @@ exports.getTiddlersWithTag = function(tag) {
|
||||
// Try to use the indexer
|
||||
var self = this,
|
||||
tagIndexer = this.getIndexer("TagIndexer"),
|
||||
results = tagIndexer && tagIndexer.lookup(tag);
|
||||
results = tagIndexer && tagIndexer.subIndexers[3].lookup(tag);
|
||||
if(!results) {
|
||||
// If not available, perform a manual scan
|
||||
results = this.getGlobalCache("taglist-" + tag,function() {
|
||||
|
||||
Reference in New Issue
Block a user