Skip to content

Commit

Permalink
allow searching by manufacturer taxonomy name
Browse files Browse the repository at this point in the history
  • Loading branch information
timcowlishaw committed Feb 1, 2024
1 parent 29e7878 commit 5d4ce5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/companies/_table_filters.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="">
<div class="input-group mb-3">
<%# f.submit class: 'btn btn-primary my-3', type: 'submit' %>
<%= f.search_field :name_or_description_or_intro_or_background_cont,
<%= f.search_field :name_or_description_or_intro_or_background_or_manufacturer_taxonomies_name_cont,
class: 'form-control',
title: t('companies.filters.search'),
style: "border-top-left-radius: 20px; border-bottom-left-radius: 20px",
Expand Down
2 changes: 1 addition & 1 deletion app/views/welcome/index.fr.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="input-group mx-auto" style="max-width:600px;">
<input
class="form-control"
name="q[name_or_description_or_intro_or_background_cont]"
name="q[name_or_description_or_intro_or_background_or_manufacturer_taxonomies_name_cont]"
type="search"
placeholder="Search for manufacturers, materials, processes or tools"
aria-label="Search"
Expand Down
2 changes: 1 addition & 1 deletion app/views/welcome/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="input-group mx-auto" style="max-width:600px;">
<input
class="form-control"
name="q[name_or_description_or_intro_or_background_cont]"
name="q[name_or_description_or_intro_or_background_or_manufacturer_taxonomies_name_cont]"
type="search"
placeholder="Search for manufacturers, materials, processes or tools"
aria-label="Search"
Expand Down

0 comments on commit 5d4ce5c

Please sign in to comment.