Skip to content
Snippets Groups Projects
Unverified Commit 75feaa83 authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Order recording formats (#4650)

parent c31cc192
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,8 @@ class RecordingSerializer < ApplicationSerializer
attributes :id, :record_id, :name, :length, :participants, :visibility, :protectable, :created_at
has_many :formats
def formats
object.formats.order(:recording_type)
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment