Skip to content

Commit

Permalink
fixed saberma#350, do not show search result while term is blank.
Browse files Browse the repository at this point in the history
  • Loading branch information
saberma committed Dec 19, 2011
1 parent 5fa8488 commit c0f04e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/liquids/search_drop.rb
Expand Up @@ -12,7 +12,7 @@ def terms
end

def performed
!@results.nil?
!@terms.blank?
end

def results
Expand Down

0 comments on commit c0f04e3

Please sign in to comment.