Link a company on Settings › Sources to its company view by key, not a name search that also lists other companies whose names hold it and shows no gate note

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Fable 5.1 committed 2026-10-05 09:28:36 +02:00
1 parent 1127d06f03
commit 8be59a7ee4
4 files changed
+27 -12

No files matched your search

+5 -1
View File
@@ -420,9 +420,13 @@
const row = document.createElement("div");
row.className = "crow";
if (company.affinity === -1) row.dataset.hidden = "true";
// By key, as the feed's own company links are, so the Roles page opens
// the company view with its strip and gate note. A name would be a
// substring there, which also lists other companies whose names hold it
// and misses roles spelt otherwise.
const link = document.createElement("a");
link.className = "name";
link.href = `/?company=${encodeURIComponent(company.name)}`;
link.href = `/?company_keys=${encodeURIComponent(company.key)}`;
link.title = "This company's open roles";
link.textContent = company.name;
row.appendChild(link);