From 64fef7c3bb5bab33778d4c4a1bbda42cd88cf735 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 16 Nov 2009 16:12:34 -0500 Subject: why this is hard --- ...rts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn') diff --git a/doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn b/doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn index 2973c6010..f8e257daf 100644 --- a/doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn +++ b/doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn @@ -1 +1,8 @@ The [[directive/map]] directive sorty by pagename. That looks kind of odd, when used together with show=title. I would expect it to sort by title then. + +> This would be quite hard to fix. Map sorts the pages it displays by page +> name, which has the happy effect of making "foo/bar" come after "foo"; +> which it *has* to do, so that it can be displayed as a child of the page +> it's located in. If sorting by title, that wouldn't hold. So, map +> would have to be effectively totally rewritten, to build up each group +> of child pages, and then re-sort those. --[[Joey]] -- cgit v1.2.3