1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 01:50: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){ if(operator.operand){
source(function(tiddler,title) { source(function(tiddler,title) {
title = tiddler ? tiddler.fields.title : title; title = tiddler ? tiddler.fields.title : title;
data = options.wiki.parseTextReference(title,"",operator.operand,{}); data = options.wiki.extractTiddlerDataItem(tiddler,operator.operand);
if(data) { if(data) {
results.push(data.source); results.push(data);
} }
}); });
} }