← back to Rentv
Cody-gate fixes: by_metro bar routes to organizations (org-level data, was mis-pointed at people); people dept filter adds editorial + media_business options (were unlisted → filter indicator snapped to all)
f1e911ce2915958398a6bfb34f80450a346d7aca · 2026-08-05 14:17:53 -0700 · Steve Abrams
Files touched
M public/admin/pr-intelligence/index.htmlM public/admin/pr-intelligence/people.html
Diff
commit f1e911ce2915958398a6bfb34f80450a346d7aca
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Wed Aug 5 14:17:53 2026 -0700
Cody-gate fixes: by_metro bar routes to organizations (org-level data, was mis-pointed at people); people dept filter adds editorial + media_business options (were unlisted → filter indicator snapped to all)
---
public/admin/pr-intelligence/index.html | 2 +-
public/admin/pr-intelligence/people.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/public/admin/pr-intelligence/index.html b/public/admin/pr-intelligence/index.html
index 115886b9..686a82fc 100644
--- a/public/admin/pr-intelligence/index.html
+++ b/public/admin/pr-intelligence/index.html
@@ -44,7 +44,7 @@
<div class="panel"><h3>Contacts by role · metro</h3>
${d.by_role.slice(0, 7).map((x) => bar(x.department, x.n, d.by_role[0]?.n || 1, '/admin/pr-intelligence/people?department=' + encodeURIComponent(x.department))).join('') || '<div class="empty">No contacts yet</div>'}
<hr style="border:none;border-top:1px solid var(--line);margin:10px 0">
- ${d.by_metro.slice(0, 7).map((x) => bar(x.metro, x.n, d.by_metro[0]?.n || 1, '/admin/pr-intelligence/people?metro=' + encodeURIComponent(x.metro))).join('') || '<div class="empty">No metro data</div>'}
+ ${d.by_metro.slice(0, 7).map((x) => bar(x.metro, x.n, d.by_metro[0]?.n || 1, '/admin/pr-intelligence/organizations?metro=' + encodeURIComponent(x.metro))).join('') || '<div class="empty">No metro data</div>'}
</div>
</div>
diff --git a/public/admin/pr-intelligence/people.html b/public/admin/pr-intelligence/people.html
index ee5e85ea..cbb5a500 100644
--- a/public/admin/pr-intelligence/people.html
+++ b/public/admin/pr-intelligence/people.html
@@ -16,7 +16,7 @@
let sort = 'priority', dir = 'desc', offset = 0; const limit = 50;
const { bar, state } = PR.filters([
{ key: 'q', placeholder: 'Name, org, title, email, LinkedIn…' },
- { key: 'department', type: 'select', options: [['', 'Dept: all'], ['communications', 'Communications/PR'], ['marketing', 'Marketing'], ['agency', 'Agency'], ['leadership', 'Leadership'], ['lending', 'Lending'], ['title_escrow', 'Title & escrow'], ['bd', 'Biz dev'], ['other', 'Other']] },
+ { key: 'department', type: 'select', options: [['', 'Dept: all'], ['communications', 'Communications/PR'], ['marketing', 'Marketing'], ['editorial', 'Editorial'], ['media_business', 'Media/Business'], ['agency', 'Agency'], ['leadership', 'Leadership'], ['lending', 'Lending'], ['title_escrow', 'Title & escrow'], ['bd', 'Biz dev'], ['other', 'Other']] },
{ key: 'metro', type: 'select', options: [['', 'Metro: all'], ...CA.metros.map((m) => [m.key, 'CA · ' + m.label]), ...AZ.metros.map((m) => [m.key, 'AZ · ' + m.label])] },
{ key: 'status', type: 'select', options: [['', 'Status: all']].concat('discovered,needs_verification,verified,stale,wrong_person,left_company,duplicate,suppressed,ready_for_outreach,contacted,replied'.split(',').map((s) => [s, s.replace(/_/g, ' ')])) },
{ key: 'email_status', type: 'select', options: [['', 'Email: all'], ['manually_verified', 'manually verified'], ['company_site_verified', 'site verified'], ['press_release_verified', 'press verified'], ['corroborated', 'corroborated'], ['inferred', '⚠ inferred'], ['unverified', 'unverified']] },
← 7825d5f2 pr-intelligence dashboard: PR-agency rows drill into the org
·
back to Rentv
·
RENTV: incremental corpus-crawl wrapper (LOCK-aware, cursor- 45863c90 →