Compare commits
2 Commits
f02a6b6a3d
...
b32af61358
| Author | SHA1 | Date | |
|---|---|---|---|
| b32af61358 | |||
| 7f4bd8a8df |
@ -12,7 +12,7 @@ class GuestsController < ApplicationController
|
||||
def index
|
||||
render json: Guest.includes(:group)
|
||||
.left_joins(:group)
|
||||
.order('groups.name' => :asc, name: :asc)
|
||||
.order('groups.name' => :asc, invitation_id: :asc, name: :asc)
|
||||
.as_json(GUEST_PARAMS)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user