app/models/alchemy/page/page_scopes.rb in alchemy_cms-4.2.4 vs app/models/alchemy/page/page_scopes.rb in alchemy_cms-4.3.0

- old
+ new

@@ -64,10 +64,10 @@ } # Returns all content pages. # scope :contentpages, -> { - where(layoutpage: [false, nil]).where(Page.arel_table[:parent_id].not_eq(nil)) + where(layoutpage: [false, nil]).where.not(parent_id: nil) } # Returns all public contentpages that are not locked. # # Used for flushing all pages caches at once.