Skip to content

✨(backend) Order pinned documents by last updated at#2028

Open
pvrnn wants to merge 5 commits intosuitenumerique:mainfrom
pvrnn:pvrnn/1962-order-pinned-docs-updated-at
Open

✨(backend) Order pinned documents by last updated at#2028
pvrnn wants to merge 5 commits intosuitenumerique:mainfrom
pvrnn:pvrnn/1962-order-pinned-docs-updated-at

Conversation

@pvrnn
Copy link

@pvrnn pvrnn commented Mar 16, 2026

Purpose

Recording.2026-03-16.202548.1.mp4

Proposal

  • Use queryset to sort favorite documents by last updated_at date.

External contributions

Thank you for your contribution! 🎉

Please ensure the following items are checked before submitting your pull request:

  • I have read and followed the contributing guidelines
  • I have read and agreed to the Code of Conduct
  • I have signed off my commits with git commit --signoff (DCO compliance)
  • I have signed my commits with my SSH or GPG key (git commit -S)
  • My commit messages follow the required format: <gitmoji>(type) title description
  • I have added a changelog entry under ## [Unreleased] section (if noticeable change)
  • I have added corresponding tests for new features or bug fixes (if applicable)

pvrnn and others added 5 commits March 16, 2026 20:20
Sort favorite_list results by updated_at descending.

Signed-off-by: Paul Vernin <paul.vernin@gmail.com>
Update unit test to verify documents are returned ordered by last updated at

Signed-off-by: Paul Vernin <paul.vernin@gmail.com>
Update test_api_document_favorite_list_with_favorite_children docstring

Signed-off-by: Paul Vernin <paul.vernin@gmail.com>
Signed-off-by: Paul Vernin <paul.vernin@gmail.com>
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.

Order pinned documents by date of last_update

1 participant