changeset 1501:d1da13700b77

deactivate history search without xapian
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Sat, 26 Aug 2006 21:09:48 +0200
parents 3b37616c6b57
children f5835c19203a
files MoinMoin/macro/AdvancedSearch.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/AdvancedSearch.py	Sat Aug 26 20:22:42 2006 +0200
+++ b/MoinMoin/macro/AdvancedSearch.py	Sat Aug 26 21:09:48 2006 +0200
@@ -125,8 +125,8 @@
                 ('', '<input type="checkbox" name="historysearch" '
                     'value="1"%s%s>%s</input>' %
                 (form_get(request, 'historysearch') and ' checked' or '',
-                    not request.cfg.xapian_search or
-                    not request.cfg.xapian_index_history and
+                    (not request.cfg.xapian_search or
+                     not request.cfg.xapian_index_history) and
                         ' disabled="disabled"' or '',
                      _('Search in all page revisions')))
             )