faceted_search 3.5.15 → 3.5.16

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: 118ee09dcce76e63a448bfeace430cd56bc9c9f80afa92c252590f133085f04c
4
- data.tar.gz: 571935067534cf0ad244dd66d250b8adf7e9d038bd3c35d3b8746d661e677210
3
+ metadata.gz: 6cd10cd89d2ea082ea27d55ffdc5063487d03c9682cf7bfcb05b1609244738fc
4
+ data.tar.gz: adf343649365ab7d49c763362db083dc4d9a5420b793c41e12d061fc58fc8eb7
5
5
  SHA512:
6
- metadata.gz: 3ad23f4aa1e796de72646961794ea8d1c63a64fcd4ec0333710dd1277aec2af316bc62dbd58ea84eb24dd5857d5a661b01c69af310c39bd8c95786a52eeabf0e
7
- data.tar.gz: 67ee216d08726b5966073ac33549ed89c4d47433df205a5e56a33a3137dd175a3e1f852b58b6e660527ede3833eb25b677ce4353c94a7a5117026120713ee032
6
+ metadata.gz: 6e207f0b79d30adea678c56fe99d5b337b9d0f8c73043dd809ed7ad20187dbacd2073155579bff89915be5bb1d2dd57c9547a3dfe7e588c74e27c0b109e70bab
7
+ data.tar.gz: 802f00e9a008d836e5cd341d524aedc23e67fe6f31fa92574da40b663484529f723eb94e2f81c2d23e17361e81835f55c5955ed60d669959d7e0d962dffbb213
@@ -20,10 +20,12 @@ reset ||= 'Reset'
20
20
  <% partial = "#{facet.kind.underscore}/all" %>
21
21
  <%= render partial, facet: facet, anchor: anchor %>
22
22
  <% end %>
23
- <li class="faceted__facet__reinit">
24
- <a href="<%= facets.path %>" rel="nofollow">
25
- <i class="fas fa-ban"></i>
26
- <%= reset %>
27
- </a>
28
- </li>
23
+ <% if facets.has_params? %>
24
+ <li class="faceted__facet__reinit">
25
+ <a href="<%= facets.path %>" rel="nofollow">
26
+ <i class="fas fa-ban"></i>
27
+ <%= reset %>
28
+ </a>
29
+ </li>
30
+ <% end %>
29
31
  </ul>
@@ -1,3 +1,3 @@
1
1
  module FacetedSearch
2
- VERSION = '3.5.15'
2
+ VERSION = '3.5.16'
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.15
4
+ version: 3.5.16
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-07-18 00:00:00.000000000 Z
13
+ date: 2022-10-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails