Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default ordering by creation date for root and shared folders #47

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

berggren
Copy link
Contributor

Summary:

Added default ordering by descending creation date for retrieved root and shared folders.

Technical Details:

  • Database Query Modification: The database queries in src/datastores/sql/crud/folder.py for retrieving root folders (get_root_folders_from_db) and shared folders (get_shared_folders_from_db) have been modified to include an order_by clause. This clause sorts the results by the created_at timestamp in descending order (most recent first).

@berggren berggren merged commit 2b71196 into main Dec 13, 2024
1 check passed
@berggren berggren deleted the order branch December 13, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant