Compare commits
No commits in common. "b32af613580011f1417eeb55b3cea3fa8d4ef3d0" and "f02a6b6a3d5dd67201999abb6a64ec7445f5f8fd" have entirely different histories.
b32af61358
...
f02a6b6a3d
@ -12,7 +12,7 @@ class GuestsController < ApplicationController
|
|||||||
def index
|
def index
|
||||||
render json: Guest.includes(:group)
|
render json: Guest.includes(:group)
|
||||||
.left_joins(:group)
|
.left_joins(:group)
|
||||||
.order('groups.name' => :asc, invitation_id: :asc, name: :asc)
|
.order('groups.name' => :asc, name: :asc)
|
||||||
.as_json(GUEST_PARAMS)
|
.as_json(GUEST_PARAMS)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user