diff --git a/api/features/workflows/core/models.py b/api/features/workflows/core/models.py index f5c5da2f9d00..b25395a67f57 100644 --- a/api/features/workflows/core/models.py +++ b/api/features/workflows/core/models.py @@ -102,6 +102,10 @@ class ChangeRequest( ignore_conflicts = models.BooleanField(default=False) + class Meta: + # Explicit ordering to prevent pagination warnings. + ordering = ("id",) + def approve(self, user: "FFAdminUser"): if user.id == self.user_id: raise CannotApproveOwnChangeRequest(