Hi Eric,
понедельник, 3 февраля 2014 г., 5:02:22 UTC+4 пользователь Eric Shulman
написал:
>
> On Sunday, February 2, 2014 4:31:46 PM UTC-8, Yakov wrote:
>>
>>
>> <<fet *filter '$1'* sortableBy '"$2"' script 'var wrapTitle =
>> function(text,tid){
>> return tid.tags.contains("emphasis") ?
>> "@@font-weight:bold;font-size:inherit;"+text+"@@" : text;
>> };
>> ...
>> The symptom is the following: as the whole thing is transcluded and
>> wikified (<<tiddler [[SListTemplate##main]]
>> *with:"[tag[current]]"*with:"orderCurrent" with:'tag:"current"
>> tag:"steps"'>>),
>> it works as expected; but on refreshing I get a list of two tiddlers: tagand
>> current (the parts of the [tag[current]] filter).
>>
>
> As a workaround, you might try avoiding the use of square brackets in the
> parameter by changing the <<fet>> like this:
> <<fet *filter '[tag[$1]]'* sortableBy '"$2"' ...
> and then invoke it like this:
> <<tiddler [[SListTemplate##main]] *with:"current"* ...
>
> the intention (and, well, actual usage) already includes more complicated
filters, so this is not a workaround that would fit. Anyway, it's better to
fix the issue instead of workaround, I guess.
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
>
> EVERY DONATION IS IMPORTANT!
> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
> http://TiddlyTools.github.com/fundraising.html#MakeADonation
>
> Professional TiddlyWiki Consulting Services...
> Analysis, Design, and Custom Solutions:
> http://www.TiddlyTools.com/#Contact
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.