diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-11-16 16:12:34 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-11-16 16:12:34 -0500 |
commit | 64fef7c3bb5bab33778d4c4a1bbda42cd88cf735 (patch) | |
tree | 851de4bf47f8e1c00fe0c0f464d9aedc68556c73 /doc/bugs | |
parent | 34f046ed4a7873e6dadbd6eb9f096b94f688d1e9 (diff) |
why this is hard
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn | 7 |
1 files changed, 7 insertions, 0 deletions
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]] |