Thank you very much indeed.
Alain

On Sat, Mar 12, 2016 at 10:17 PM, BJ <buggy...@gmail.com> wrote:

> Hi Alain,
>
> in the list widget the code is
>
> ListWidget.prototype.getTiddlerList = function() {
>     var defaultFilter = "[!is[system]sort[title]]";
>     return
> this.wiki.filterTiddlers(this.getAttribute("filter",defaultFilter),this);
> };
>
> so you would use
>
> this.wiki.filterTiddlers("[tag[chapter]!is[system]sort[]]");
>
> which would return an array of tiddler titles
>
> all the best
>
> BJ
>
> On Friday, March 11, 2016 at 11:32:11 PM UTC, Alain Dutech wrote:
>>
>> Hello,
>>
>> I would like to use à filter expression (for example
>> "[tag[chapter]!is[system]sort[]]") inside a javascript plugin.
>> Do you have ideas of what tiddlywiki function to use ? Any example in the
>> boot/core/plugins javascript files ?
>>
>> Thank you,
>> Snow
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWikiDev" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywikidev/hhz0buCJ604/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywikidev+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywikidev@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywikidev.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywikidev/ff607a22-874e-4941-b8a4-4c4711f01d3c%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywikidev/ff607a22-874e-4941-b8a4-4c4711f01d3c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/CAFF9YEGEnPHMy2vbru0TsiCVH8KDEbTcMMUJLW-Jxorn4K8CYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to