faceted_search 3.6.3 → 3.6.4
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 +4 -4
- data/app/views/faceted_search/facets/boolean/_selected.html.erb +1 -2
- data/app/views/faceted_search/facets/range/_all.html.erb +2 -2
- data/app/views/faceted_search/facets/range/_selected.html.erb +1 -1
- data/app/views/faceted_search/facets/text/_all.html.erb +2 -3
- data/app/views/faceted_search/facets/text/_selected.html.erb +2 -3
- data/lib/faceted_search/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 684d3943a7c0b0cf5e1c806098df9e6d54b4758f6cd7699b46ebbe22713568ea
|
4
|
+
data.tar.gz: 0ce9164385fd5c3168a44ef94b54890cffe62407452dcc81d15484158a36af1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71aecd633e58916554cbff73410564d19832c220e5ed3423b8e0055cf8e4e3cba8c6ef3284267b186e3de42f700ed7325e64c5157ec823de616b485d377d11ad
|
7
|
+
data.tar.gz: 1cb07ff37da61c96df8c4959327ef49548506bdb3b4215691149f25ac10620edd8aeb8f5af98bf00a74bc2c4ffb25d4bab7386e986d0c8415050853d23d47a05
|
@@ -1,6 +1,5 @@
|
|
1
1
|
<% anchor ||= '' %>
|
2
|
-
<%
|
3
|
-
<% unless value.blank? %>
|
2
|
+
<% if facet.selected? %>
|
4
3
|
<%= render 'faceted_search/facets/facet-selected',
|
5
4
|
title: facet.title,
|
6
5
|
value: facet.title,
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<li>
|
3
3
|
<% unless facet.title.blank? %><b><%= facet.title %></b><% end %>
|
4
4
|
<%
|
5
|
-
value =
|
5
|
+
value = facet.params if facet.params.present?
|
6
6
|
value ||= facet.default_value
|
7
7
|
%>
|
8
8
|
<form action="<%= anchor %>" class="faceted__facet__text form-inline">
|
@@ -23,4 +23,4 @@
|
|
23
23
|
class="btn btn-light"
|
24
24
|
value="OK" />
|
25
25
|
</form>
|
26
|
-
</li>
|
26
|
+
</li>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<% anchor ||= '' %>
|
2
|
-
<% value =
|
2
|
+
<% value = facet.params if facet.params.present? %>
|
3
3
|
<% unless value.blank? %>
|
4
4
|
<%= render 'faceted_search/facets/facet-selected',
|
5
5
|
title: facet.title,
|
@@ -1,7 +1,6 @@
|
|
1
1
|
<% anchor ||= '' %>
|
2
2
|
<li>
|
3
3
|
<% unless facet.title.blank? %><b><%= facet.title %></b><% end %>
|
4
|
-
<% value = params[:facets][facet.param_name] if params[:facets] && params[:facets].has_key?(facet.param_name) %>
|
5
4
|
<form action="<%= anchor %>" class="faceted__facet__text form-inline">
|
6
5
|
<% facet.facets.list.each do |f| %>
|
7
6
|
<% next if f == facet || f.params.blank? || f.path_pattern? %>
|
@@ -12,10 +11,10 @@
|
|
12
11
|
<input type="search"
|
13
12
|
name="facets[<%= facet.param_name %>]"
|
14
13
|
placeholder="<%= facet.placeholder %>"
|
15
|
-
value="<%=
|
14
|
+
value="<%= facet.params %>"
|
16
15
|
class="form-control" />
|
17
16
|
<input type="submit"
|
18
17
|
class="btn btn-light"
|
19
18
|
value="OK" />
|
20
19
|
</form>
|
21
|
-
</li>
|
20
|
+
</li>
|
@@ -1,8 +1,7 @@
|
|
1
1
|
<% anchor ||= '' %>
|
2
|
-
<%
|
3
|
-
<% unless value.blank? %>
|
2
|
+
<% unless facet.params.blank? %>
|
4
3
|
<%= render 'faceted_search/facets/facet-selected',
|
5
4
|
title: facet.title,
|
6
|
-
value:
|
5
|
+
value: facet.params,
|
7
6
|
path: facet.facets.path_for(facet, nil) + anchor %>
|
8
7
|
<% 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.6.
|
4
|
+
version: 3.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Levy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
- Sébastien Moulène
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
180
|
- !ruby/object:Gem::Version
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
|
-
rubygems_version: 3.6.
|
183
|
+
rubygems_version: 3.6.7
|
184
184
|
specification_version: 4
|
185
185
|
summary: Faceted search with Active Record
|
186
186
|
test_files: []
|