mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	fixes #689
This commit is contained in:
		| @@ -123,10 +123,11 @@ class DocumentClassifier(object): | ||||
|             m.update(y.to_bytes(4, 'little', signed=True)) | ||||
|             labels_correspondent.append(y) | ||||
|  | ||||
|             tags = [tag.pk for tag in doc.tags.filter( | ||||
|             tags = sorted([tag.pk for tag in doc.tags.filter( | ||||
|                 matching_algorithm=MatchingModel.MATCH_AUTO | ||||
|             )] | ||||
|             m.update(bytearray(tags)) | ||||
|             )]) | ||||
|             for tag in tags: | ||||
|                 m.update(tag.to_bytes(4, 'little', signed=True)) | ||||
|             labels_tags.append(tags) | ||||
|  | ||||
|         if not data: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jonaswinkler
					jonaswinkler