Skip to content

Commit

Permalink
Change scratch view pagination ordering to creation_time
Browse files Browse the repository at this point in the history
  • Loading branch information
ribbanya committed Feb 6, 2024
1 parent e3139d9 commit 76c71b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/coreapp/views/scratch.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def create_scratch(data: Dict[str, Any], allow_project: bool = False) -> Scratch


class ScratchPagination(CursorPagination):
ordering = "-last_updated"
ordering = "-creation_time"
page_size = 10
page_size_query_param = "page_size"
max_page_size = 100
Expand Down

0 comments on commit 76c71b0

Please sign in to comment.