I thought I found a new kind of problem, but when I was writing it I realized that this is just another case that could be solved with "sort:eval" actually. Just mentioning it here anyway, in case that inspires anyone:

I have a list of tiddlers tagged "author" and a list of "wiki" tiddlers, where each of the latter is tagged with an "author" tiddler" (kind of like that <http://erwanm.github.io/tw-community-search/#CommunityAuthors>). The "wiki" tiddlers have a field "latest-modification". I would like to display a list of "wiki" tiddlers sorted by author, but with the authors sorted by latest modification.

Btw, another thing that I think would be nice is a simple way to display a table with the possibility to sort by any column in any order, for instance like many tables in wikipedia <https://en.wikipedia.org/wiki/List_of_cities_by_population_density>. (sorry, this might be completely unrelated, it just made me think about it)

Erwan


On 07/11/15 09:41, Tobias Beer wrote:
Hi Erwan,

    Yes, thank you Tobias for understanding and formalizing my idea!
    Should we open an issue about that?


I think we should, but let's go one more round beforehand, perhaps.

Now I'm beginning to think that it should *not* be a filter of its own but rather a flag (/suffix) to *any* available sort filter that instructs it to sort by the evaluated operand, e.g.:

|
{{{[sort:eval<sortfilter>]}}}
|

In other words:

Sort the input elements by the output of evaluating the specified operand as a filter expression.

Equivalently:

|
{{{[sortcs:eval<sortfilter>]}}}
|

etc...

Not sure if an "evaluated operand" would be relevant for other filter operations other than sorting and whether we could / should devise a syntax that always does evaluation, no matter what filter operator.

Best wishes,

— tb
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a6d40057-9187-4b10-bb6f-7fb9dc52502f%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/a6d40057-9187-4b10-bb6f-7fb9dc52502f%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 
"TiddlyWiki" 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/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/563EBDCE.8070803%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to