mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 13:12:50 +00:00
* fix(jobindex-search): reject a --sort other than score or date instead of sending it to the portal --sort was a free z.string(), and jobindex does not reject an unknown sort: --sort newest came back exit 0 in an order that is neither relevance nor date, so the newest-first sort a caller asked for was silently not applied. Make it an enum of the two documented values, like --format, so any other value fails schema validation before a request is sent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * changelog: place the #647 entry under [Unreleased] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Mads Lorentzen <madslorentzen_17@hotmail.com>