mirror of
				https://github.com/infiniflow/ragflow.git
				synced 2025-10-31 01:40:20 +00:00 
			
		
		
		
	fix thumbnail issue (#2917)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
		
							parent
							
								
									1935c3be1a
								
							
						
					
					
						commit
						2ced25c676
					
				| @ -317,7 +317,7 @@ class DocumentService(CommonService): | ||||
|     @classmethod | ||||
|     @DB.connection_context() | ||||
|     def get_thumbnails(cls, docids): | ||||
|         fields = [cls.model.id, cls.model.thumbnail] | ||||
|         fields = [cls.model.id, cls.model.kb_id, cls.model.thumbnail] | ||||
|         return list(cls.model.select( | ||||
|             *fields).where(cls.model.id.in_(docids)).dicts()) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Kevin Hu
						Kevin Hu