Merge pull request 'Return guests ordered by invitation within same group' (#282) from guests-order into main
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Run unit tests / rubocop (push) Has been skipped
				
			
		
			
				
	
				Run unit tests / check-licenses (push) Has been skipped
				
			
		
			
				
	
				Run unit tests / copyright_notice (push) Has been skipped
				
			
		
			
				
	
				Run unit tests / unit_tests (push) Successful in 56s
				
			
		
			
				
	
				Run unit tests / build-static-assets (push) Successful in 8m45s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Run unit tests / rubocop (push) Has been skipped
				
			Run unit tests / check-licenses (push) Has been skipped
				
			Run unit tests / copyright_notice (push) Has been skipped
				
			Run unit tests / unit_tests (push) Successful in 56s
				
			Run unit tests / build-static-assets (push) Successful in 8m45s
				
			Reviewed-on: #282
This commit is contained in:
		
						commit
						b32af61358
					
				| @ -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