changeset 1249:a9b155a92bc2

merged xapian branch
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 14 Aug 2006 18:04:10 +0200
parents 5a806f10c810 (current diff) bfd2b1d5e6c0 (diff)
children e083ea8c934e 7c29a18a7e26
files
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/results.py	Mon Aug 14 17:27:34 2006 +0200
+++ b/MoinMoin/search/results.py	Mon Aug 14 18:04:10 2006 +0200
@@ -669,10 +669,9 @@
         f = self.formatter
 
         querydict = wikiutil.parseQueryString(self.request.query_string)
-        uri_prefix = self.request.splitURI(self.request.request_uri)[0]
         def page_url(n):
             querydict.update({'from': n * hitsPerPage})
-            return uri_prefix + '?' + wikiutil.makeQueryString(querydict)
+            return self.request.page.url(self.request, querydict, escape=0)
         
         pages = float(hitsNum) / hitsPerPage
         if pages - int(pages) > 0.0: