]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
map: The fix for #449285 was buggy and broke display of parents in certian circumstances.
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 26 Aug 2008 16:55:43 +0000 (12:55 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 26 Aug 2008 16:55:43 +0000 (12:55 -0400)
commitc3732bafa002af48821b13a81fb1d84807eb439b
tree00769dad0d9aa62635f4e8c58c7b22d4930d7225
parente5e42faa9251c359c70e8554a4a8a358dd903213
map: The fix for #449285 was buggy and broke display of parents in certian circumstances.

The use of $dummy was not sufficient, because it only stuck around for the
first element after a dummy parent, and was then lost. Instead, use a
$addparent that contains the actual dummy parent, so it can be compared
with the new item to see if we're still under that parent or have moved to
another one.
(cherry picked from commit 9b10f5eab22be36cf3b3a217076c76a669b4aafa)
IkiWiki/Plugin/map.pm
debian/changelog