app/models/alchemy/page.rb in alchemy_cms-6.0.0.b1 vs app/models/alchemy/page.rb in alchemy_cms-6.0.0.b2

- old
+ new

@@ -180,10 +180,19 @@ def url_path_class=(klass) @_url_path_class = klass end def alchemy_resource_filters - %w[published not_public restricted] + [ + { + name: :by_page_layout, + values: PageLayout.all.map { |p| [Alchemy.t(p["name"], scope: "page_layout_names"), p["name"]] }, + }, + { + name: :status, + values: %w[published not_public restricted], + }, + ] end def searchable_alchemy_resource_attributes %w[name urlname title] end