refine-rails 2.9.8 → 2.9.9
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 446a8130188530cee2fb75c67578c600275c0a828fb2231196d3517f5f95a837
|
4
|
+
data.tar.gz: a5a22667df259ae68c2ce26c5e18dae49a02708342580e9569d26237d2632281
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abb49f9681a6fbd5079b1fe745bab2e993a59855092023d9b2ae7fd312f38d143701e9666400de69b4ef71b81f797e3e3fff616082029589971d0e2659b5b4f0
|
7
|
+
data.tar.gz: 78b5b26f113149a4ed8e1aff5063be84afa462a9aaf5091514ef96f8f81ed01c3a93e68c33f409179d026e7bf79fb8bc9173ca9fd6e4ca0790f88ea90fc3731e
|
@@ -2,6 +2,7 @@
|
|
2
2
|
condition = @criterion.condition
|
3
3
|
date_refinement_condition = condition.has_date_refinement? && condition.get_date_refinement_condition
|
4
4
|
count_refinement_condition = condition.has_count_refinement? && condition.get_count_refinement_condition
|
5
|
+
condition_clause = @criterion.input.clause || condition.approved_clauses.first.id
|
5
6
|
|
6
7
|
last_clause_select = if count_refinement_condition
|
7
8
|
:count
|
@@ -23,7 +24,7 @@
|
|
23
24
|
|
24
25
|
|
25
26
|
<%# Input Value %>
|
26
|
-
<% unless ['st', 'nst'].include?
|
27
|
+
<% unless ['st', 'nst'].include? condition_clause %>
|
27
28
|
<%= render @criterion.input_partial, criterion: @criterion, form: form, input_fields: input_fields, form_id: form_id %>
|
28
29
|
<% if last_clause_select == :criterion %>
|
29
30
|
<div class="refine--separator"></div>
|
@@ -37,7 +38,7 @@
|
|
37
38
|
@criterion.condition.approved_clauses,
|
38
39
|
:id,
|
39
40
|
:display,
|
40
|
-
{},
|
41
|
+
{selected: condition_clause},
|
41
42
|
class: "refine--select refine--clause-select",
|
42
43
|
data: {action: "change->refine--criterion-form#refresh"},
|
43
44
|
form: form_id
|
data/lib/refine/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refine-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Colleen Schnettler
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-03-
|
12
|
+
date: 2024-03-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|