.....still cant get it to work
..I now have
<<forEachTiddler where 'tiddler.tags.contains("actividade")' sortBy
'store.getTiddlerSlice(tiddler.title,"Dia")' descending write
'"|"+store.getTiddlerSlice(tiddler.title,"Tema")
+"|"+store.getTiddlerSlice(tiddler.title,"Dia")
+"|"+store.getTiddlerSlice(tiddler.title,"Sessao")+"|.......
..what is strange that the write command correctly evaluates and
outputs store.getTiddlerSlice(tiddler.title,"Dia")...... but the
sortBy doesnt seem to recognize it !!!!...its not sorting on that
value!!!!
I'm stumped!!
Thanks
Skye
On 28 mar, 03:14, Måns <[email protected]> wrote:
> Hi Skye
>
> > I have a set of tiddlers that contain information in slices (eg
> > /%
> > |parameter1|data1|
> > |parameter2|data2|....
> > %/
>
> > I want to be able to sort these tiddlers according to a slice
> > parameter.... someting like...
>
> > <<forEachTiddler where 'tiddler.tags.contains("search_tag")' sortBy
> > 'slice value of parameter1' write '............
>
> > this obviously does not work......can I use a reasonably simple
> > javascript expression to sit in the sortBy expression?
>
> This didn't
> work?:http://groups.google.com/group/tiddlywiki/browse_thread/thread/f73eeb...
> sortBy 'store.getTiddlerText(tiddler.title+"::parameter1","")'
>
> Cheers Måns Mårtensson
On 28 mar, 03:14, Måns <[email protected]> wrote:
> Hi Skye
>
> > I have a set of tiddlers that contain information in slices (eg
> > /%
> > |parameter1|data1|
> > |parameter2|data2|....
> > %/
>
> > I want to be able to sort these tiddlers according to a slice
> > parameter.... someting like...
>
> > <<forEachTiddler where 'tiddler.tags.contains("search_tag")' sortBy
> > 'slice value of parameter1' write '............
>
> > this obviously does not work......can I use a reasonably simple
> > javascript expression to sit in the sortBy expression?
>
> This didn't
> work?:http://groups.google.com/group/tiddlywiki/browse_thread/thread/f73eeb...
> sortBy 'store.getTiddlerText(tiddler.title+"::parameter1","")'
>
> Cheers Måns Mårtensson
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.