mirror of
https://github.com/niels-emmer/myace.git
synced 2026-09-14 07:36:39 +02:00
[PR #87] [MERGED] fix: sort base collections before additional using CASE expression #90
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
github-mirrors/myace#90
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/niels-emmer/myace/pull/87
Author: @niels-emmer
Created: 8/12/2026
Status: ✅ Merged
Merged: 8/12/2026
Merged by: @niels-emmer
Base:
main← Head:fix/collection-type-sort📝 Commits (1)
138b729fix: sort base collections before additional using CASE expression📊 Changes
1 file changed (+10 additions, -3 deletions)
View changed files
📝
backend/app/api/collections.py(+10 -3)📄 Description
Summary
Alphabetical sort on
collection_typeputs 'additional' before 'base' (a < b). Uses a SQL CASE expression to map base→0, additional→1 for the correct order.Changes
backend/app/api/collections.pyCASE WHEN collection_type='base' THEN 0 ELSE 1 END, name ASCTesting
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.