solidus_backend 3.2.6 → 3.2.8

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: e35c129c55af8f84be5738dc2fc035edd162afdbeb348dfebda1a1e59e2988ff
4
- data.tar.gz: 1a684f58d3a9716fc5f090e14d8debade6f1b2a1d6096fd644ed3b08da0d7e3d
3
+ metadata.gz: 1aa5c69cfc0b53e38929a4a870677c5c81caf311935d64e602ece713a72482fd
4
+ data.tar.gz: 4d7d1c4468470cbff11d4726041439bb20570bfb2eda169c81fa057a5978cdda
5
5
  SHA512:
6
- metadata.gz: f5c35ef9d44943033d97eddaaca062ee5b921315b787e756dd63ffb868637be582d88d0119728cdde06a5cf9a7aa71ede41b62c72645f0e7e48874472aee2e5f
7
- data.tar.gz: 171a020998f6c281b0c788d655e7d57eb186aaa0e0d49802f9bfc0356267b13234169de444e1940109b8b465c926805b19d8758169caae3664cb5cfc857e7850
6
+ metadata.gz: 06312b378a74172a235f4435f38254ae7ba426a94332f12d53689883d6c2ec0f2bcf5359d71c983cd9814dc46a2161312d7cc2fa9d9176c6ca327bad36253691
7
+ data.tar.gz: bf498dfc57c6463c2e89d467b97c5dc111528e5b787de90cb33d82a0437e57bc5bfac93f6125c4d798caa2a15eab64139a55c71c848ef2a8dd54dbc6fd6a726d
@@ -82,7 +82,9 @@ class Spree::Admin::ResourceController < Spree::Admin::BaseController
82
82
  records = model_class.where(id: positions.keys).to_a
83
83
 
84
84
  positions.each do |id, index|
85
- records.find { |r| r.id == id.to_i }&.set_list_position(index)
85
+ # To permit the use of UUID as id, we compare models id in database
86
+ # and in params under the string representation instead of integer
87
+ records.find { |r| r.id.to_s == id }&.set_list_position(index)
86
88
  end
87
89
  end
88
90
 
@@ -142,7 +142,14 @@
142
142
  </div>
143
143
  <% end %>
144
144
  </div>
145
-
145
+ <div data-hook="admin_product_form_track_inventory">
146
+ <%= f.field_container :track_inventory do %>
147
+ <label>
148
+ <%= f.check_box :track_inventory %>
149
+ <%= Spree::Variant.human_attribute_name(:track_inventory) %>
150
+ </label>
151
+ <% end %>
152
+ </div>
146
153
  <% end %>
147
154
 
148
155
  <div data-hook="admin_product_form_shipping_categories">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.6
4
+ version: 3.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-07 00:00:00.000000000 Z
11
+ date: 2023-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.6
19
+ version: 3.2.8
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.6
26
+ version: 3.2.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.2.6
33
+ version: 3.2.8
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.2.6
40
+ version: 3.2.8
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: font-awesome-rails
43
43
  requirement: !ruby/object:Gem::Requirement