faceted_search 3.5.4 → 3.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/faceted_search/_facets.html.erb +1 -1
- data/app/views/faceted_search/facets/checkboxes/_selected.html.erb +1 -1
- data/app/views/faceted_search/facets/date/_selected.html.erb +1 -1
- data/app/views/faceted_search/facets/full_tree/_all.html.erb +1 -1
- data/app/views/faceted_search/facets/full_tree/_selected.html.erb +2 -1
- data/app/views/faceted_search/facets/full_tree/_values-selected.html.erb +1 -1
- data/app/views/faceted_search/facets/full_tree/_values.html.erb +2 -2
- data/app/views/faceted_search/facets/list/_selected.html.erb +1 -1
- data/app/views/faceted_search/facets/range/_selected.html.erb +1 -1
- data/app/views/faceted_search/facets/text/_selected.html.erb +1 -1
- data/app/views/faceted_search/facets/tree/_all.html.erb +2 -2
- data/lib/faceted_search/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 553d3617dd9ce61d6c40ee05bbb892fe015d92154858d8d94b9b1f17fa3c0bbe
|
4
|
+
data.tar.gz: 23c554467eea8e4495d8bcc4e3b32bbd7a9770be3eb19e27d10c13503b4bb9d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f030a78d48278f60d0a9c6f2c45663d4089d4745ef5fc212a10d8d41e21f5680529ca2c41447f8db0027fd23e60ecde3a3a606070d25887b9e8315a6d21c885
|
7
|
+
data.tar.gz: 29a04e3c793429cd53d1496da956f954f73ad9049cdf7866cae122e54a2695b5d3578cffded28ba0a3b04a25ea50aab18765c7cce1f9dfc85f9bd52ac113829a
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<div class="static-nestable-list">
|
5
5
|
<div class="dd">
|
6
6
|
<ol class="faceted__facet__full_tree list-unstyled dd-list">
|
7
|
-
<%= render 'faceted_search/facets/full_tree/values', values: facet.values_with_parent(nil), facet: facet %>
|
7
|
+
<%= render 'faceted_search/facets/full_tree/values', values: facet.values_with_parent(nil), facet: facet, anchor: anchor %>
|
8
8
|
</ol>
|
9
9
|
</div>
|
10
10
|
</div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<%= render 'faceted_search/facets/facet-selected',
|
5
5
|
title: facet.title,
|
6
6
|
value: facet.display_method.call(value),
|
7
|
-
path: facet.facets.path_for(facet, identifier) %>
|
7
|
+
path: facet.facets.path_for(facet, identifier) + anchor %>
|
8
8
|
<% end %>
|
9
9
|
<% child_values = facet.values_with_parent(value.id) %>
|
10
10
|
<% if child_values.any? %>
|
@@ -3,12 +3,12 @@
|
|
3
3
|
<li class="faceted__facet__full_tree__value<%= '--selected' if facet.value_selected?(identifier) %> dd-item <%= 'dd-item--selected' if facet.value_selected?(identifier) %>">
|
4
4
|
<%= render 'faceted_search/link',
|
5
5
|
display_value: facet.display_method.call(value),
|
6
|
-
path: facet.facets.path_for(facet, identifier),
|
6
|
+
path: facet.facets.path_for(facet, identifier) + anchor,
|
7
7
|
searchable: facet.searchable %>
|
8
8
|
<% child_values = facet.values_with_parent(value.id) %>
|
9
9
|
<% if child_values.any? %>
|
10
10
|
<ol class="dd-list">
|
11
|
-
<%= render 'faceted_search/facets/full_tree/values', values: child_values, facet: facet %>
|
11
|
+
<%= render 'faceted_search/facets/full_tree/values', values: child_values, facet: facet, anchor: anchor %>
|
12
12
|
</ol>
|
13
13
|
<% end %>
|
14
14
|
</li>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<%
|
7
7
|
display_value = facet.display_method.call(facet.selected_object)
|
8
8
|
identifier = facet.selected_object.send facet.find_by
|
9
|
-
path = facet.facets.path_for(facet, identifier)
|
9
|
+
path = facet.facets.path_for(facet, identifier) + anchor
|
10
10
|
%>
|
11
11
|
<div class="faceted__facet__tree__back">
|
12
12
|
<%= link_to path, rel: 'nofollow' do %>
|
@@ -20,7 +20,7 @@
|
|
20
20
|
<%
|
21
21
|
display_value = facet.display_method.call(value)
|
22
22
|
identifier = value.send facet.find_by
|
23
|
-
path = facet.facets.path_for(facet, identifier)
|
23
|
+
path = facet.facets.path_for(facet, identifier) + anchor
|
24
24
|
%>
|
25
25
|
<li class="faceted__facet__tree__value">
|
26
26
|
<%= render 'faceted_search/link',
|