app/models/alchemy/page/page_scopes.rb in alchemy_cms-6.0.3 vs app/models/alchemy/page/page_scopes.rb in alchemy_cms-6.0.4
- old
+ new
@@ -120,9 +120,13 @@
OR alchemy_page_versions.public_until >= '#{connection.quoted_date(time)}'
)
)
SQL
end
+
+ def ransackable_scopes(_auth_object)
+ [:published, :from_current_site, :searchables, :layoutpages]
+ end
end
end
end
end