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