changeset 1281:7df93b9b320b

merge changes from xapian branch
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Mon, 14 Aug 2006 23:56:48 +0200
parents 6d5d345599a1 (current diff) bfd2b1d5e6c0 (diff)
children 6d46d6627b2f
files
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/results.py	Mon Aug 14 23:52:48 2006 +0200
+++ b/MoinMoin/search/results.py	Mon Aug 14 23:56:48 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: