mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 17:40:29 +00:00
use extractTiddlerDataItem not parseTextReference
This commit is contained in:
parent
726ccdee49
commit
7ed5c3ccfc
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user