faceted_search 3.5.11 → 3.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 520ee5f81cdb24604ce3fd089e7dae9bc2314be94af1ec6680752f7f34b65a70
|
|
4
|
+
data.tar.gz: 685e1ab85a7642f65229fedb80b8af52c40eac12b29ade22f752e2d71cc3ba89
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 %>
|
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.
|
|
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-
|
|
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.
|
|
182
|
+
rubygems_version: 3.1.6
|
|
189
183
|
signing_key:
|
|
190
184
|
specification_version: 4
|
|
191
185
|
summary: Faceted search with Active Record
|