From efab330226c945aa1c6b6f9e25df4c6a8445480f Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Tue, 22 Oct 2024 09:36:52 -0700 Subject: [PATCH] Incorporate feedback from review * Make this feature opt-in. You can add suggest: true to your facet config in the catalog controller to start using it. * Use text_field_tag --- .../search/facet_suggest_input.html.erb | 14 +++++------ .../blacklight/search/facet_suggest_input.rb | 4 ++++ .../search/facet_suggest_input_spec.rb | 18 ++++++++++++-- spec/features/facets_spec.rb | 24 ++++++++++++------- 4 files changed, 43 insertions(+), 17 deletions(-) diff --git a/app/components/blacklight/search/facet_suggest_input.html.erb b/app/components/blacklight/search/facet_suggest_input.html.erb index a947961186..80e4e2f037 100644 --- a/app/components/blacklight/search/facet_suggest_input.html.erb +++ b/app/components/blacklight/search/facet_suggest_input.html.erb @@ -1,9 +1,9 @@ -