@@ -48,7 +48,7 class SearchController < ApplicationController | |||||
48 | # default objects to search if none is specified in parameters |
|
48 | # default objects to search if none is specified in parameters | |
49 | @scope = @object_types if @scope.empty? |
|
49 | @scope = @object_types if @scope.empty? | |
50 | else |
|
50 | else | |
51 | @scope = %w(projects) |
|
51 | @object_types = @scope = %w(projects) | |
52 | end |
|
52 | end | |
53 |
|
53 | |||
54 | # tokens must be at least 3 character long |
|
54 | # tokens must be at least 3 character long |
General Comments 0
You need to be logged in to leave comments.
Login now