changeset 840 | d3f9fff0860b |
parent 714 | 3e2ce3d8057a |
child 872 | 70e0b6d8ff73 |
--- a/app/soc/views/sitemap/sidebar.py Tue Jan 20 16:31:53 2009 +0000 +++ b/app/soc/views/sitemap/sidebar.py Tue Jan 20 17:41:47 2009 +0000 @@ -74,7 +74,11 @@ # Return the found result if params['sidebar']: - return params['sidebar'] + default = params['sidebar'] + result = default[:] + for item in params['sidebar_additional']: + result.append(item) + return result # Construct defaults manualy defaults = params['sidebar_defaults']