1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-01 16:30:46 +00:00
Fixes #417, thanks @pmario
This commit is contained in:
Jermolene 2014-02-21 09:11:27 +00:00
parent c4058c4662
commit ec0769d7ca

View File

@ -283,7 +283,7 @@ exports.getTiddlers = function(options) {
for(t in this.tiddlers) {
if($tw.utils.hop(this.tiddlers,t)) {
if(options.includeSystem || !this.isSystemTiddler(t)) {
if(!options.excludeTag || !this.tiddlers[t].hasTag(excludeTag)) {
if(!options.excludeTag || !this.tiddlers[t].hasTag(options.excludeTag)) {
tiddlers.push(this.tiddlers[t]);
}
}