faceted_search 3.5.11 → 3.5.14

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
  SHA256:
3
- metadata.gz: 1ada6583674e8af506d38ff4d6210031a2c26e36b272d81dcfcc294d771c11b8
4
- data.tar.gz: c0ecb0db4418a381bdef93b05e1ea8f69a4b71dcb71c05cc04e5729cb0e41b24
3
+ metadata.gz: 520ee5f81cdb24604ce3fd089e7dae9bc2314be94af1ec6680752f7f34b65a70
4
+ data.tar.gz: 685e1ab85a7642f65229fedb80b8af52c40eac12b29ade22f752e2d71cc3ba89
5
5
  SHA512:
6
- metadata.gz: c5618af51815c11964bcf5e17247000c50856a440b30582451382067f3c987df98258b8eb18a2b2d2e08705038f2c508e440e71a377cda146797b60730943f74
7
- data.tar.gz: f10e4f886e2097bc67175dd95f29af2afc817bd101f5e2f9e9617743068c736b6ceb908d2051d8085a841e37a6e55d8d2132f0119dee3f7d28fa3dae5d086b41
6
+ metadata.gz: c116e4a7e83f6806483f9f30b4524123173d7dffd70be045f5f8ce5930c280dc1889544307559b7e10617860798f577052d4017bb4a336e6d23710e6e476da2d
7
+ data.tar.gz: 32bfd0603e52e9e93f7ceadcb49e1ed5dc29c9ebf6986fd9e39f7afe8f005dff5ef5960595ce69f4ed3e351961663e8ab9aecfa7c43cca44232b1fa0df09824d
@@ -4,13 +4,12 @@ module FacetedSearch
4
4
  def source
5
5
  @source ||= begin
6
6
  if @options[:source].present?
7
- @options[:source]
7
+ @options[:source].where("#{field} IS NOT NULL")
8
8
  else
9
9
  results = params_array.compact.blank? ? facets.results : facets.results_except(@name)
10
10
  results.send(:all).where("#{field} IS NOT NULL")
11
11
  end
12
12
  end
13
- @options[:source].where("#{field} IS NOT NULL")
14
13
  end
15
14
 
16
15
  def order
@@ -1,6 +1,6 @@
1
1
  <li class=" faceted__facet-selected
2
2
  list-inline-item">
3
- <%= link_to path, class: 'badge badge-light', rel: 'nofollow' do %>
3
+ <%= link_to path, class: 'badge badge-light bg-light text-dark', rel: 'nofollow' do %>
4
4
  <% unless title %>
5
5
  <span class="faceted__facet-selected__title d-none">
6
6
  <%= title %>
@@ -1,3 +1,3 @@
1
1
  module FacetedSearch
2
- VERSION = '3.5.11'
2
+ VERSION = '3.5.14'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faceted_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.11
4
+ version: 3.5.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Levy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-04-14 00:00:00.000000000 Z
13
+ date: 2022-07-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -19,9 +19,6 @@ dependencies:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: 5.2.0
22
- - - "<"
23
- - !ruby/object:Gem::Version
24
- version: '7'
25
22
  type: :runtime
26
23
  prerelease: false
27
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,9 +26,6 @@ dependencies:
29
26
  - - ">="
30
27
  - !ruby/object:Gem::Version
31
28
  version: 5.2.0
32
- - - "<"
33
- - !ruby/object:Gem::Version
34
- version: '7'
35
29
  - !ruby/object:Gem::Dependency
36
30
  name: font-awesome-sass
37
31
  requirement: !ruby/object:Gem::Requirement
@@ -185,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
179
  - !ruby/object:Gem::Version
186
180
  version: '0'
187
181
  requirements: []
188
- rubygems_version: 3.3.7
182
+ rubygems_version: 3.1.6
189
183
  signing_key:
190
184
  specification_version: 4
191
185
  summary: Faceted search with Active Record