changeset 494:1294c1c0ec56

CollectLists: small fix for default regex (needs to start with pagename)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 05 Feb 2010 10:13:01 +0100
parents 9b22669a0690
children 73cf57f641a7
files data/plugin/macro/CollectLists.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/macro/CollectLists.py	Thu Feb 04 23:44:49 2010 +0100
+++ b/data/plugin/macro/CollectLists.py	Fri Feb 05 10:13:01 2010 +0100
@@ -111,7 +111,7 @@
         filter_column_value = u''
 
     if search_expression is None:
-        search_expression = u'regex:title:%s/' % pagename
+        search_expression = u'regex:title:^%s/' % pagename
 
     search_result = search.searchPages(request, search_expression)
     pages = [title.page_name for title in search_result.hits]