bug: search prefs GET returns titles key but settings store expects job_titles #126
Labels
No labels
a11y
backlog
beta-feedback
bug
enhancement
feature-request
frontend
needs-triage
question
vue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/peregrine#126
Loading…
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?
Summary
Wizard step 7 saves profiles with a
titleskey in YAML. TheGET /api/settings/searchendpoint returns the raw profile dict which hastitles. The Settings store (stores/settings/search.ts) readsdata.job_titles— a different key name — so it always getsundefinedand falls back to[].Fix
Normalize on the GET side:
Also fix step 7 to save using
job_titlesas the canonical key going forward.Impact
All search preferences saved via the wizard before this fix show as empty in Settings → Search Prefs.