Sha256: 5fd95d3a0c6d5c9e2b07962c3ae18acc9122e300e41282ade0c0ce266b90eb5f
Contents?: true
Size: 639 Bytes
Versions: 1
Compression:
Stored size: 639 Bytes
Contents
module CommonwealthVlrEngine module CollectionsHelperBehavior # link to view all items in a collection def link_to_all_col_items(col_title, institution_name=nil, link_class) facet_params = {blacklight_config.collection_field => [col_title]} facet_params[blacklight_config.institution_field] = institution_name if institution_name link_to(t('blacklight.collections.browse.all'), catalog_index_path(:f => facet_params), :class => link_class) end # whether the A-Z link menu should be displayed in collections#index def should_render_col_az? false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
commonwealth-vlr-engine-0.0.1 | app/helpers/commonwealth_vlr_engine/collections_helper_behavior.rb |