mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	update index after import
This commit is contained in:
		
							parent
							
								
									ebcb2cf694
								
							
						
					
					
						commit
						0fa3c3188d
					
				@ -73,6 +73,9 @@ class Command(Renderable, BaseCommand):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                self._import_files_from_manifest()
 | 
					                self._import_files_from_manifest()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        print("Updating search index...")
 | 
				
			||||||
 | 
					        call_command('document_index', 'reindex')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @staticmethod
 | 
					    @staticmethod
 | 
				
			||||||
    def _check_manifest_exists(path):
 | 
					    def _check_manifest_exists(path):
 | 
				
			||||||
        if not os.path.exists(path):
 | 
					        if not os.path.exists(path):
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user