mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	fix: search being broken on dev through mastodon
This commit is contained in:
		
							parent
							
								
									4fa15f27c7
								
							
						
					
					
						commit
						20a8bb0467
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -183,7 +183,7 @@ export class SearchService {
 | 
			
		|||
				}
 | 
			
		||||
			}
 | 
			
		||||
			const res = await this.meilisearchNoteIndex!.search(q, {
 | 
			
		||||
				sort: [`createdAt:${opts.order}`],
 | 
			
		||||
				sort: [`createdAt:${opts.order ? opts.order : 'desc'}`],
 | 
			
		||||
				matchingStrategy: 'all',
 | 
			
		||||
				attributesToRetrieve: ['id', 'createdAt'],
 | 
			
		||||
				filter: compileQuery(filter),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue