1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 09:30:28 +00:00

use extractTiddlerDataItem not parseTextReference

This commit is contained in:
Tobias Beer 2015-02-04 01:49:31 +01:00
parent 726ccdee49
commit 7ed5c3ccfc

View File

@ -20,9 +20,9 @@ exports.getIndex = function(source,operator,options) {
if(operator.operand){
source(function(tiddler,title) {
title = tiddler ? tiddler.fields.title : title;
data = options.wiki.parseTextReference(title,"",operator.operand,{});
data = options.wiki.extractTiddlerDataItem(tiddler,operator.operand);
if(data) {
results.push(data.source);
results.push(data);
}
});
}