]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/Map_sorts_subtags_under_a_different_tag.mdwn
web commit by http://madduck.myopenid.com/
[git.ikiwiki.info.git] / doc / bugs / Map_sorts_subtags_under_a_different_tag.mdwn
1 ikiwiki's map directive is full of surprises. I have put a snapshot of the
2 site as it was when I saw the following problem at
3 <http://scratch.madduck.net/web__phd.martin-krafft.net__map-bug-2.tgz> and can
4 revert there any time, but I need to move on.
6 I have a few tags starting with `a` (abridged list):
8 > $ ls wiki/factors/tag/a*
9 > [...]
10 > wiki/factors/tag/active/:
11 > index.html
12 >
13 > wiki/factors/tag/affects/:
14 > contributors/  developers/  users/
15 > [...]
17 In `wiki-wc/factors/tag.mdwn`, I have a map for these tags:
19 > [[map pages="factors/tag/*"]]
21 and this works, except that for *whatever* reason, it actually sorts the three
22 `affects/*` tags under `active`:
24 > $ w3m -dump wiki/factors/tag/index.html | grep active -A3
25 >               ○ active
26 >                   ■ contributors
27 >                   ■ developers
28 >                   ■ users
30 This really blows my mind. :)