fixed hound

This commit is contained in:
zmagod 2016-07-29 16:38:42 +02:00
parent 25b99b6570
commit 95da62adde

View file

@ -49,7 +49,7 @@ class SearchController < ApplicationController
@search_page = params[:page].to_i || 1
@display_query = @search_query
# splits the search query to validate all entries
@splited_query = @search_query.split()
@splited_query = @search_query.split
if @splited_query.first.length < MIN_QUERY_CHARS
flash[:error] = t'search.index.error.query_length', n: MIN_QUERY_CHARS