Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2013-02-04 13:50:40 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2013-02-04 13:50:40 (GMT)
commit84db7f521622b57b084007f3ef8c404ac3aae7eb (patch)
tree699e26794db4dc186b2583a105da47f432a0813f
parent4704c0e7e0f475f29ce3793733755d230236edc3 (diff)
Fix tags search
XXX Somehow, it workds on gitorious.org without such patch.
-rw-r--r--app/controllers/searches_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/searches_controller.rb b/app/controllers/searches_controller.rb
index 59a2c0b..ad790aa 100644
--- a/app/controllers/searches_controller.rb
+++ b/app/controllers/searches_controller.rb
@@ -29,7 +29,7 @@ class SearchesController < ApplicationController
unless params[:q].blank?
@all_results = nil # The unfiltered search result from TS
@results = filter_paginated(params[:page], PER_PAGE) do |page|
- @all_results = ThinkingSphinx.search(params[:q],{
+ @all_results = ThinkingSphinx.search("@@relaxed #{params[:q]}",{
:page => page,
:per_page => PER_PAGE,
:classes => [Project, Repository, MergeRequest],