Module: Geoblacklight::ViewHelperOverride
- Defined in:
- lib/geoblacklight/view_helper_override.rb
Overview
Override Blacklight helpers to inject behavior
Instance Method Summary collapse
Instance Method Details
#render_search_to_s(params) ⇒ Object
6 7 8 |
# File 'lib/geoblacklight/view_helper_override.rb', line 6 def render_search_to_s(params) super + render_search_to_s_bbox(params) end |
#render_search_to_s_bbox(params) ⇒ Object
10 11 12 13 14 |
# File 'lib/geoblacklight/view_helper_override.rb', line 10 def render_search_to_s_bbox(params) return "".html_safe if params["bbox"].blank? render_search_to_s_element(t("geoblacklight.bbox_label"), render_filter_value(params["bbox"])) end |