add default_sorted_column

This commit is contained in:
simon lehericey 2024-09-25 17:37:11 +02:00
parent 305b31e53b
commit 9652cf78c3
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -57,6 +57,10 @@ module ColumnsConcern
columns columns
end end
def default_sorted_column
SortedColumn.new(column: notifications_column, order: 'desc')
end
private private
def standard_columns def standard_columns