diff --git a/contentcuration/contentcuration/viewsets/contentnode.py b/contentcuration/contentcuration/viewsets/contentnode.py index 76acb56667..2fbf61556d 100644 --- a/contentcuration/contentcuration/viewsets/contentnode.py +++ b/contentcuration/contentcuration/viewsets/contentnode.py @@ -690,7 +690,7 @@ def decode_cursor(self, request): return None try: - value = int(value) + value = int(float(value)) except ValueError: raise ValidationError("lft must be an integer but an invalid value was given.")