Class: BlacklightRangeLimit::FacetItemPresenter

Inherits:
Blacklight::FacetItemPresenter
  • Object
show all
Defined in:
app/presenters/blacklight_range_limit/facet_item_presenter.rb

Overview

Override the default item presenter to provide custom labels for range data.

Instance Method Summary collapse

Instance Method Details

#labelObject



7
8
9
# File 'app/presenters/blacklight_range_limit/facet_item_presenter.rb', line 7

def label
  label_for_range || super
end