From: http://smcv.pseudorandom.co.uk/ Date: Sat, 12 Nov 2011 17:39:37 +0000 (-0400) Subject: new patch X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=commitdiff_plain;h=194bbf5f36e85c24ef08b512c4d1a1cbfc53e4cf new patch --- diff --git a/doc/todo/sorting_by_path.mdwn b/doc/todo/sorting_by_path.mdwn new file mode 100644 index 000000000..b7af9f919 --- /dev/null +++ b/doc/todo/sorting_by_path.mdwn @@ -0,0 +1,16 @@ +[[!tag patch]] +[[!template id=gitbranch branch=smcv/trail3 author="[[smcv]]"]] + +My branch for [[plugins/contrib/trail]] also includes `path` +and `path_natural` sort orders, which sort the entire page name, +e.g. "a a/z ab ab/c b", much like [[ikiwiki/directive/map]]. +I used `path` as the default order for the +[[plugins/contrib/ikiwiki/directive/trailitems]] directive, +since it seemed the most sensible. +([[plugins/contrib/ikiwiki/directive/trailinline]] uses +`age` as its default, to be consistent with `inline`.) + +It's one commit (including a regression test) which can be +cherry-picked if you don't want the rest of `trail`. + +--[[smcv]]