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

recurrent
echarp 7 years ago
parent 436baff927
commit 127d043691
  1. 2
      app/views/orgas/_search.html.haml
  2. 1
      config/locales/models/en.yml

@ -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

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

Loading…
Cancel
Save