mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	use addOrderBy as not to override orderBy
This commit is contained in:
		
							parent
							
								
									b8e361e03c
								
							
						
					
					
						commit
						b92a325539
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -59,7 +59,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
 | 
			
		|||
			const emojis = await this.emojisRepository.createQueryBuilder()
 | 
			
		||||
				.where('host IS NULL')
 | 
			
		||||
				.orderBy('LOWER(category)', 'ASC')
 | 
			
		||||
				.orderBy('LOWER(name)', 'ASC')
 | 
			
		||||
				.addOrderBy('LOWER(name)', 'ASC')
 | 
			
		||||
				.getMany();
 | 
			
		||||
			return {
 | 
			
		||||
				emojis: await this.emojiEntityService.packSimpleMany(emojis),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue