blacklight_range_limit 6.2.0 → 6.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb869c85a59ab43a06d60fcbe6515595c68ef57c
4
- data.tar.gz: 32b3de05633cd25ca26465840e1d50afe7bceeaa
3
+ metadata.gz: 5916a36ea02f2dd5d7501af8c07d30a14c5427fa
4
+ data.tar.gz: ed913a405d4e4e19bc8690b593da2477e6b9ec4a
5
5
  SHA512:
6
- metadata.gz: a4209b4107bfc5c05794aa238f7fe17020f98cd2f4a91a3a242a6884eb1305fc7f6bc4175f1196a6e28632d8b682123b77123f5a9e3523c86d4acb9ddb0133a8
7
- data.tar.gz: d85a7d7ff3057d76355e8417d417f2e23b50f274caad3e06d75e679f990b9928dc20570ce5fcff5ace4b907740ed9fadaa58bcc56ed6222c3b4bddfdd5d6774a
6
+ metadata.gz: 2b60db139239efb69cf5cfea6c987a70393c181f5d1f399c4f1560f52d8dfa33ab27028d0cc16339d3dcb6610147b6360ff5bbea72a19b2912300586f805fd8b
7
+ data.tar.gz: b8be8b220117fd159b788ce53630e6c4d77461b7d6eed384c5c72e4311b4f0b87b7e31586d35744a5a96e594e670b69c65f113a290821804af5487ba57cf9906
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.2.0
1
+ 6.2.1
@@ -40,7 +40,7 @@ module BlacklightRangeLimit
40
40
  return false unless field.range
41
41
 
42
42
  config = field.range
43
- config = {} if config === true
43
+ config = { partial: field.partial } if config === true
44
44
 
45
45
  config
46
46
  end
@@ -6,7 +6,8 @@
6
6
 
7
7
 
8
8
  def facet_partial_name(display_facet)
9
- return "blacklight_range_limit/range_limit_panel" if range_config(display_facet.name) and should_show_limit(display_facet.name)
9
+ config = range_config(display_facet.name)
10
+ return config[:partial] || 'blacklight_range_limit/range_limit_panel' if config && should_show_limit(display_facet.name)
10
11
  super
11
12
  end
12
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight_range_limit
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.0
4
+ version: 6.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Rochkind
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-29 00:00:00.000000000 Z
12
+ date: 2017-09-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -245,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
245
245
  version: '0'
246
246
  requirements: []
247
247
  rubyforge_project:
248
- rubygems_version: 2.5.2
248
+ rubygems_version: 2.6.11
249
249
  signing_key:
250
250
  specification_version: 4
251
251
  summary: Blacklight Range Limit plugin