aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-10-06 00:46:53 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-10-06 00:46:53 +0200
commitc915f91fbe8d97201d813c792f4e1fe8c4401e15 (patch)
tree7b341e4d7548205776557437bd2245ec59bf0a57 /README.md
parentf7366834ee41bbb4ac8a9a252224241a884af41b (diff)
fix: make grocery and reference ordering deterministic
Every list query lacked a tiebreak, so rows sharing a sort key (same-ms createdAt inserts, tied or NULL quality scores) came back in unspecified order and bestRef flipped between loads. Add explicit tiebreaks: items createdAt desc, id desc (newest first); references qualityScore desc, id asc (first inserted wins ties). Categories were already total (order, name unique). Pin the rules with service tests.
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/README.md b/README.md
index 76742d2..cd4ed0f 100644
--- a/README.md
+++ b/README.md
@@ -81,5 +81,4 @@ mise run deploy
- Auto-categorize new items (LLM-assisted)
- https://automerge.org/docs/tutorial/
- Shared > Modal actions
-- Deterministic sort
- Input + buttons sizes (ajouter un article)