Skip to content

Commit 76de802

Browse files
committed
allow public_on attribute on page version for sorting and filtering
1 parent 1d3ff27 commit 76de802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/alchemy/json_api/page.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Alchemy
22
# With Ransack 4 we need to define the attributes
33
# that are allowed to be searched.
44
def Page.ransackable_attributes(_auth_object = nil)
5-
super | %w[page_layout]
5+
super | %w[page_layout public_version_public_on]
66
end
77

88
module JsonApi

0 commit comments

Comments
 (0)