Search roles by company too, link the careers page in the reader, widen the list and reader

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-29 16:58:51 +02:00
1 parent a584b88ead
commit 51d2537d73
5 files changed
+20 -12

No files matched your search

+7 -6
View File
@@ -496,10 +496,11 @@ class Store:
"""Newest first by `posted_at`. `company` and `place` are
case-insensitive substrings of the columns a board wrote — not the
key, so a search does not have to know the exact slug a company folds
to. `q` is matched word by word against `title`; a role must match
every word. `function` and `remote` match a gate column exactly.
`days` keeps only roles posted within that many days of now. `pay`
(a key of `PAY`) filters on `salary_state`.
to. `q` is matched word by word against `title` and `company`; a
role must match every word in one or the other. `function` and
`remote` match a gate column exactly. `days` keeps only roles posted
within that many days of now. `pay` (a key of `PAY`) filters on
`salary_state`.
`agent` says whose votes, hidden companies and scores are meant. Each
row carries that agent's `vote` and `voted_at`; `judged` (a key of
@@ -653,8 +654,8 @@ class Store:
where.append("posted_at >= ?")
params.append(_iso(self.clock() - timedelta(days=days)))
for word in (q or "").split():
where.append("title LIKE ? ESCAPE '\\'")
params.append(_like(word))
where.append("(title LIKE ? ESCAPE '\\' OR company LIKE ? ESCAPE '\\')")
params += [_like(word)] * 2
if judged:
if judged not in JUDGED:
raise ValueError(f"judged is {', '.join(JUDGED)}, not {judged!r}")