diff options
| author | Teddy Wing | 2018-04-25 16:00:17 +0200 |
|---|---|---|
| committer | Johan Van Ryseghem | 2018-04-26 15:35:54 +0200 |
| commit | 86eb5008e14dfc2d4471aaf409de813f5840e7ac (patch) | |
| tree | b576ffdd188c819256941e8aa45406c4c9fc0173 /app | |
| parent | 1aeb36eb62d6cae25c40f3a99ff442fa9fe965fb (diff) | |
| download | chouette-core-86eb5008e14dfc2d4471aaf409de813f5840e7ac.tar.bz2 | |
StopAreas#index: Filter by registration number
The input that filters by name and objectid now also needs to filter by
registration number.
Refs #6681
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/stop_areas/_filters.html.slim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/stop_areas/_filters.html.slim b/app/views/stop_areas/_filters.html.slim index caa264d5e..cca48bb17 100644 --- a/app/views/stop_areas/_filters.html.slim +++ b/app/views/stop_areas/_filters.html.slim @@ -1,7 +1,9 @@ = search_form_for @q, url: stop_area_referential_stop_areas_path(@stop_area_referential), html: {method: :get}, class: 'form form-filter' do |f| .ffg-row .input-group.search_bar class=filter_item_class(params[:q], :name_or_objectid_cont) - = f.search_field :name_or_objectid_cont, placeholder: t('.name_or_objectid'), class: 'form-control' + = f.search_field :name_or_objectid_or_registration_number_cont, + placeholder: t('.name_or_objectid'), + class: 'form-control' span.input-group-btn button.btn.btn-default#search-btn type='submit' span.fa.fa-search |
