Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Range facet/limit/profile pluging for Blacklight
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
assets
config
lib
rails
tasks
.gitignore
MIT-LICENSE
README.rdoc
Rakefile
VERSION
blacklight_range_limit.gemspec
install.rb
uninstall.rb

README.rdoc

Range Facet Configuration

config[:facet][:range] => { 
  "some_field" => true, # just take defaults
  "other_field => { 
    :num_segments => 10,
    :slider_js => true,
    :chart_js => true,
    :assumed_boundaries => [ 1100, Time.now.year + 2]
    :segments => false
  }
}

Note chart_js=false won't get rid of all JS, facets still need loading. To get rid of all JS

todo:

  • ajax only when open facet

  • if :assumed_boundaries is popular, provide a way to have em automatically looked up from corpus min/max on app startup, or rake task.

Something went wrong with that request. Please try again.