alchemy_cms 7.3.1 → 7.3.2

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: '08de5259f351b2a8faa9784320c8b5c667979f472742af2696f113c51152bb64'
4
- data.tar.gz: 2858554eb0559b32200519ac66a5d276946c7c877c9aa8ede7e20a5809e74aa5
3
+ metadata.gz: b1c14706898ccb67fa43de10bd8201bf7adb47c836535066b9fe617e7f17a605
4
+ data.tar.gz: 7792bae3328cf7ab0bc486c83cb7d49190e867afbccc990d0d3ee442caaeb4e2
5
5
  SHA512:
6
- metadata.gz: 9809938a08efb003e27194dafbe185cfdd075d0d88748f014a6e2376086f98d147b17772675c7110b54dbc642f8da8a560cf71567eaec9ea5faa97ddd60001c9
7
- data.tar.gz: 775b7ddb09ab2969a234f03507b04914dff43d6d6e196475a439db40a9aa2c8ff93f445b9f3e2410d135bd401a5203528b44bca4bce43cfa87d1eb325246f961
6
+ metadata.gz: 24c15fa0ba50316c14365f471eefe5ec0440523811b5f2b49f925d585c698cc25cb02c8f35399464482f3415b70839650206166bdff93c1374a1ec43f9a4eb7b
7
+ data.tar.gz: de7441196f5451858b2005511963c2c2ea1efbf7bdfe98ac28b16137d6a6a79629bc48db4c6cc7ad322b16081b73ab24e23cf338c9966ecce9d3f6e334a5d4c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.3.2 (2024-10-15)
4
+
5
+ - [7.3-stable] Fix filtering associated models by id [#3068](https://github.com/AlchemyCMS/alchemy_cms/pull/3068) ([alchemycms-bot](https://github.com/alchemycms-bot))
6
+ - [7.3-stable] fix new page form [#3064](https://github.com/AlchemyCMS/alchemy_cms/pull/3064) ([tvdeyen](https://github.com/tvdeyen))
7
+
3
8
  ## 7.3.1 (2024-10-04)
4
9
 
5
10
  - [7.3-stable] Add tinymce skin files to Sprockets manifest [#3063](https://github.com/AlchemyCMS/alchemy_cms/pull/3063) ([tvdeyen](https://github.com/tvdeyen))
@@ -138,7 +138,7 @@ module Alchemy
138
138
  end
139
139
 
140
140
  def eligible_resource_filter_values
141
- resource_filters.map(&:values).flatten
141
+ resource_filters.map(&:values).flatten!.map!(&:to_s)
142
142
  end
143
143
 
144
144
  # Returns a translated +flash[:notice]+ for current controller action.
@@ -13,7 +13,7 @@ module Alchemy
13
13
  unless: -> { name.blank? }
14
14
 
15
15
  validates :name,
16
- presence: true
16
+ presence: true, uniqueness: {scope: [:parent_id], case_sensitive: false, unless: -> { parent_id.nil? }}
17
17
  validates :urlname,
18
18
  uniqueness: {scope: [:language_id, :layoutpage], if: -> { urlname.present? }, case_sensitive: false},
19
19
  exclusion: {in: RESERVED_URLNAMES},
@@ -14,7 +14,7 @@
14
14
  label: Alchemy.t(:page_type),
15
15
  include_blank: @page_layouts.length == 1 ? nil : Alchemy.t('Please choose'),
16
16
  required: true,
17
- selected: @page_layouts.length == 1 ? @page_layouts.first : nil,
17
+ selected: @page_layouts.length == 1 ? @page_layouts.first : @page.page_layout,
18
18
  input_html: {is: 'alchemy-select'} %>
19
19
  <%= f.input :name %>
20
20
  <%= f.submit Alchemy.t(:create) %>
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "7.3.1"
4
+ VERSION = "7.3.2"
5
5
 
6
6
  def self.version
7
7
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.1
4
+ version: 7.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2024-10-04 00:00:00.000000000 Z
16
+ date: 2024-10-15 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: actionmailer