mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Add colours to the tags pages
This commit is contained in:
		| @@ -152,6 +152,9 @@ class TagAdmin(CommonAdmin): | ||||
|  | ||||
|     readonly_fields = ("slug",) | ||||
|  | ||||
|     class Media: | ||||
|         js = ("js/colours.js",) | ||||
|  | ||||
|     def get_queryset(self, request): | ||||
|         qs = super(TagAdmin, self).get_queryset(request) | ||||
|         qs = qs.annotate(document_count=models.Count("documents")) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Quinn
					Daniel Quinn