]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn
f8e257dafb59544210e41acbebc73df9e07f4642
[ikiwiki.git] / doc / bugs / map_sorts_by_pagename_and_not_title_when_show__61__title_is_used.mdwn
1 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.
2
3 > This would be quite hard to fix. Map sorts the pages it displays by page
4 > name, which has the happy effect of making "foo/bar" come after "foo";
5 > which it *has* to do, so that it can be displayed as a child of the page
6 > it's located in. If sorting by title, that wouldn't hold. So, map
7 > would have to be effectively totally rewritten, to build up each group
8 > of child pages, and then re-sort those. --[[Joey]]