changeset 3114:338ad6aee6da

AdvancedSearch: fix domain:system search crashing
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 05 Jan 2008 01:30:48 +0100
parents 3489709aa99f
children cd6cfc715261
files MoinMoin/search/queryparser.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/queryparser.py	Mon Feb 25 21:31:05 2008 +0100
+++ b/MoinMoin/search/queryparser.py	Sat Jan 05 01:30:48 2008 +0100
@@ -864,7 +864,7 @@
         logging.debug("search: DomainSearch searching page %r for (negated = %r) %r" % (page.page_name, self.negated, self._pattern))
         checks = {'underlay': page.isUnderlayPage,
                   'standard': page.isStandardPage,
-                  'system': lambda page: wikiutil.isSystemPage(page.request, page.page_name),
+                  'system': lambda page=page: wikiutil.isSystemPage(page.request, page.page_name),
                  }
 
         try: