Compare commits

..

No commits in common. "b32af613580011f1417eeb55b3cea3fa8d4ef3d0" and "f02a6b6a3d5dd67201999abb6a64ec7445f5f8fd" have entirely different histories.

View File

@ -12,7 +12,7 @@ class GuestsController < ApplicationController
def index
render json: Guest.includes(:group)
.left_joins(:group)
.order('groups.name' => :asc, invitation_id: :asc, name: :asc)
.order('groups.name' => :asc, name: :asc)
.as_json(GUEST_PARAMS)
end