Search by department removed. An integer can not be compared like other search parametes. Refs #11

This commit is contained in:
echarp 2015-12-27 01:01:25 +01:00
parent 436baff927
commit 127d043691
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
= search_form_for @search || Orga.search(params[:q]) do |f|
= f.label :search, t('.label')
%em.fa.fa-users
= f.search_field :name_or_city_or_department_or_region_name_or_url_cont,
= f.search_field :name_or_city_or_region_name_or_url_cont_any,
id: :q_search, size: 16,
placeholder: t('.title', entity: Orga.model_name.human)
= f.button class: :search do

View File

@ -18,6 +18,7 @@ en:
event: Event
user: Modérator
orga: Orga
kind: Kind
city: City
region: Region
admin_user: Admin