changeset 2946:1ed67dfb686c

search.results: added missing hitsInfo=0 to pageListWithContext
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 09 Nov 2007 08:45:59 +0100
parents 8962d2095a5a
children a7ed0a410ced
files MoinMoin/search/results.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/results.py	Thu Nov 08 22:26:18 2007 +0100
+++ b/MoinMoin/search/results.py	Fri Nov 09 08:45:59 2007 +0100
@@ -371,7 +371,7 @@
         return self.getvalue()
 
     def pageListWithContext(self, request, formatter, info=1, context=180,
-                            maxlines=1, paging=True, hitsFrom=0):
+                            maxlines=1, paging=True, hitsFrom=0, hitsInfo=0):
         """ Format a list of found pages with context
 
         The default parameter values will create Google-like search
@@ -386,6 +386,7 @@
         @param maxlines: how many contexts lines to show.
         @param paging: toggle paging
         @param hitsFrom: current position in the hits
+        @param hitsInfo: toggle hits info line
         @rtype: unicode
         @return formatted page list with context
         """