mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Allow sorting tags by color
This commit is contained in:
		 Michael Shamoon
					Michael Shamoon
				
			
				
					committed by
					
						 Trenton H
						Trenton H
					
				
			
			
				
	
			
			
			 Trenton H
						Trenton H
					
				
			
						parent
						
							0b53a8981c
						
					
				
				
					commit
					1bf6d9165f
				
			| @@ -176,7 +176,7 @@ class TagViewSet(ModelViewSet): | ||||
|     permission_classes = (IsAuthenticated,) | ||||
|     filter_backends = (DjangoFilterBackend, OrderingFilter) | ||||
|     filterset_class = TagFilterSet | ||||
|     ordering_fields = ("name", "matching_algorithm", "match", "document_count") | ||||
|     ordering_fields = ("color", "name", "matching_algorithm", "match", "document_count") | ||||
|  | ||||
|  | ||||
| class DocumentTypeViewSet(ModelViewSet): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user