Skip to content

Commit

Permalink
Pass the original params to constraint_query_label (for now...)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jun 3, 2020
1 parent e07b650 commit 022cfe5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def render_constraints_query(params_or_search_state = search_state)
return "".html_safe if search_state.query_param.blank?

Deprecation.silence(Blacklight::RenderConstraintsHelperBehavior) do
render_constraint_element(constraint_query_label(search_state),
render_constraint_element(constraint_query_label(search_state.params),
search_state.query_param,
classes: ["query"],
remove: remove_constraint_url(search_state))
Expand Down

0 comments on commit 022cfe5

Please sign in to comment.