diff MoinMoin/macro/__init__.py @ 2226:cff573edd028

fixed wrong link generation for WordIndex/TitleIndex
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 27 May 2007 02:54:39 +0200
parents 7ae581d79352
children 01f05e74aa9c
line wrap: on
line diff
--- a/MoinMoin/macro/__init__.py	Thu Jun 21 09:32:33 2007 +0200
+++ b/MoinMoin/macro/__init__.py	Sun May 27 02:54:39 2007 +0200
@@ -241,7 +241,7 @@
 
         page = fmt.page
         allpages_txt = (_('Include system pages'), _('Exclude system pages'))[allpages]
-        allpages_url = page.url(request, querystr={'allpages': allpages and '0' or '1'})
+        allpages_url = page.url(request, querystr={'allpages': allpages and '0' or '1'}, relative=False)
 
         output = [fmt.paragraph(1), _make_index_key(index_letters), fmt.linebreak(0),
                   fmt.url(1, allpages_url), fmt.text(allpages_txt), fmt.url(0), fmt.paragraph(0)] + output