Skip to content

Commit d7ed2f8

Browse files
committed
- avo: participants are not sortable
1 parent e83f7a4 commit d7ed2f8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/avo/resources/cloud.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def handle(query:, fields:, current_user:, resource:, **args)
2727
def fields
2828
field :id, as: :id, link_to_record: true
2929

30-
field :participant, as: :belongs_to, searchable: true, sortable: true
30+
field :participant, as: :belongs_to, searchable: true
3131

3232
field :picked, as: :boolean, sortable: true
3333

app/avo/resources/invitation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Avo::Resources::Invitation < Avo::BaseResource
1414
def fields
1515
field :id, as: :id, link_to_record: true
1616

17-
field :participant, as: :belongs_to, searchable: true, sortable: true
17+
field :participant, as: :belongs_to, searchable: true
1818

1919
field :status, as: :select, enum: ::Invitation.statuses, sortable: true, readonly: true
2020

0 commit comments

Comments
 (0)