From 4ecc99c9d5225e4a2045f32c1dbdd7792b5cb87e Mon Sep 17 00:00:00 2001 From: 00SS <38947777+00SS@users.noreply.github.com> Date: Wed, 10 Apr 2019 17:17:07 +0700 Subject: [PATCH] DOCS: Correction: How to change the sort order of sub-branches in a TOC macro.tid (#3783) Changed line `<>` to `<>` Tested that this is the correct code. --- ...change the sort order of sub-branches in a TOC macro.tid | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editions/tw5.com/tiddlers/howtos/How to change the sort order of sub-branches in a TOC macro.tid b/editions/tw5.com/tiddlers/howtos/How to change the sort order of sub-branches in a TOC macro.tid index 76dbfcbf64..86ee4280d8 100644 --- a/editions/tw5.com/tiddlers/howtos/How to change the sort order of sub-branches in a TOC macro.tid +++ b/editions/tw5.com/tiddlers/howtos/How to change the sort order of sub-branches in a TOC macro.tid @@ -1,5 +1,5 @@ created: 20161209172820513 -modified: 20161209174234840 +modified: 20190220000000000 tags: Learning title: How to change the sort order of sub-branches in a TOC macro type: text/vnd.tiddlywiki @@ -7,7 +7,7 @@ type: text/vnd.tiddlywiki Imagine that you are using a [[Table of Contents|Table-of-Contents Macros]] macro similar to this: ``` -<> +<> ``` The sorting is fine for most cases, but you would like all your items tagged `Journal` to be sorted by the `created` field. How can you apply a separate sort order to just those sub-items tagged `Journal`? @@ -17,7 +17,7 @@ The trick is to add a field to the parent tagging tiddler (i.e. `Journal`) that Now change your [[Table of Contents|Table-of-Contents Macros]] to look like this: ``` -<> +<> ``` Now your Table of Contents will sort by title everywhere, except for the children of the `Journal` tiddler, which will sort by the `created `date.