mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Allow setting mailrule order from frontend
This commit is contained in:
		| @@ -27,7 +27,7 @@ class MailAccountViewSet(ModelViewSet): | ||||
| class MailRuleViewSet(ModelViewSet): | ||||
|     model = MailRule | ||||
|  | ||||
|     queryset = MailRule.objects.all().order_by("pk") | ||||
|     queryset = MailRule.objects.all().order_by("order") | ||||
|     serializer_class = MailRuleSerializer | ||||
|     pagination_class = StandardPagination | ||||
|     permission_classes = (IsAuthenticated,) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon