Skip to content

Added Sorting by _id, _createdAt, and _updatedAt to CMS API Order Query #137

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hyunnbunt
Copy link
Contributor

@hyunnbunt hyunnbunt commented Apr 28, 2025

Implements sorting for _id, _createdAt, and _updatedAt columns in the CMS API order query. Users can now specify one of these fields within the order parameter to sort results.

  • Query Examples
    {"order": "_createdAt"},
    {"order": [{"field":"_createdAt", "dir":"asc"}]}

Copy link

vercel bot commented Apr 28, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plasmic-cms-i18n ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2025 5:08am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
react-email-demo ⬜️ Ignored (Inspect) Apr 28, 2025 5:08am

Copy link

vercel bot commented Apr 28, 2025

@hyunnbunt is attempting to deploy a commit to the Plasmic Team on Vercel.

A member of the Team first needs to authorize it.

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.

2 participants