multi-solr 01.09.03 → 01.09.04

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,7 +38,7 @@ class MultiSolr::SolrFilterCollection < MultiSolr::SolrFilterSimple
38
38
  if @solr_query_proc
39
39
  q = @solr_query_proc.call(sani_values)
40
40
  else
41
- q = sani_values.map{|val| "#{@name}:#{val}"}.join(' OR ')
41
+ q = sani_values.map{|val| "#{@field_name}:#{val}"}.join(' OR ')
42
42
  if sani_values.size > 1
43
43
  q = "(#{q})"
44
44
  end
@@ -60,7 +60,7 @@ class MultiSolr::SolrFilterCollection < MultiSolr::SolrFilterSimple
60
60
  if @collection_proc
61
61
  data = @collection_proc.call(context)
62
62
  else
63
- data = core_handler.cached_list_possible_values(self.name, context, search_request)
63
+ data = core_handler.cached_list_possible_values(@field_name, context, search_request)
64
64
  end
65
65
  if @after_collect_proc
66
66
  data = @after_collect_proc.call(data)
@@ -1,3 +1,3 @@
1
1
  module MultiSolr
2
- VERSION = "01.09.03"
2
+ VERSION = "01.09.04"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi-solr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 59
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 9
9
- - 3
10
- version: 01.09.03
9
+ - 4
10
+ version: 01.09.04
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bernd Ledig
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-08-08 00:00:00 Z
18
+ date: 2014-04-23 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  prerelease: false