summaryrefslogtreecommitdiffstats
path: root/askbot/context.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-01 15:49:33 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-01 15:49:33 -0400
commitaf43d6b542bce0e57d9ea59ae1857fa28f2083ed (patch)
tree1f432c8680f3977fc4ca00b0dad142969b47007e /askbot/context.py
parent8e764f3d75c384744bb8062b6f210da24fd082d9 (diff)
downloadaskbot-af43d6b542bce0e57d9ea59ae1857fa28f2083ed.tar.gz
askbot-af43d6b542bce0e57d9ea59ae1857fa28f2083ed.tar.bz2
askbot-af43d6b542bce0e57d9ea59ae1857fa28f2083ed.zip
a minor change in the search dropdown
Diffstat (limited to 'askbot/context.py')
-rw-r--r--askbot/context.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/askbot/context.py b/askbot/context.py
index 3e0bf657..abd283e1 100644
--- a/askbot/context.py
+++ b/askbot/context.py
@@ -60,7 +60,9 @@ def application_settings(request):
#for some languages we will start searching for shorter words
if current_language == 'ja':
- min_search_word_length = 2
+ #we need to open the search box and show info message about
+ #the japanese lang search
+ min_search_word_length = 1
else:
min_search_word_length = my_settings['MIN_SEARCH_WORD_LENGTH']