changeset 1486:5d30213ee39b

fix small bug that automatically starts language-search though not intended
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Fri, 25 Aug 2006 11:49:45 +0200
parents 2f3ab9872a40
children ad473f8dc533
files MoinMoin/action/fullsearch.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/fullsearch.py	Fri Aug 25 11:37:48 2006 +0200
+++ b/MoinMoin/action/fullsearch.py	Fri Aug 25 11:49:45 2006 +0200
@@ -68,8 +68,7 @@
         #xor_terms = request.form.get('xor_terms', [''])[0].strip()
         categories = request.form.get('categories', [''])[0].strip()
         timeframe = request.form.get('time', [''])[0].strip()
-        language = request.form.get('language',
-                [request.cfg.language_default])[0]
+        language = request.form.get('language', [''])[0]
         mimetype = request.form.get('mimetype', [0])[0]
         excludeunderlay = request.form.get('excludeunderlay', [0])[0]
         nosystemitems = request.form.get('nosystemitems', [0])[0]