mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-12 13:53:13 +00:00
Indexes operator: Return original order
Current behavior of indexes operator is that it returns a sorted list of indexes of data tiddler. There is no way to return the original order of indexes. This modification returns the indexes in the original order defined in the data tiddler. Sorting can be achieved by sort operator downstream in the filter run.
This commit is contained in:
parent
843f133f5e
commit
061168fb40
@ -23,7 +23,6 @@ exports.indexes = function(source,operator,options) {
|
||||
$tw.utils.pushTop(results,Object.keys(data));
|
||||
}
|
||||
});
|
||||
results.sort();
|
||||
return results;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user