Multi level depending tags?

Thanks, Eric!

I stared at that far too long!

Yes, this is just a missing sort call. Since the names look like Asset Placement 42 or whatever, we can’t use a strict numeric sort or an alphabetic one, but sortan is designed to handle mixed content like this.

We can just add +[sortan[]] to the query to get this:

  query = `[tag[AssetPlacement]!has[draft.of]] $(afilter)$ $(lfilter)$ $(dfilter)$ $(efilter)$ +[sortan[]]`

I’ve posted one more version with these fixes and a little cleanup, moving presentation from HTML to CSS is at http://scott.sauyet.com/Tiddlywiki/Demo/AssetPlacementDemo/v5/. I’ve added a few more asset placements so that if you clear the filters, you can see the numbers sorting properly.

2 Likes

Looking at this version 5. plugin tw5-locator can do this query. It’s just that the result is a list and not a table.