mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 10:08:11 +08:00
fixed hound
This commit is contained in:
parent
25b99b6570
commit
95da62adde
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue