← back to Rentv
People + Organizations lists: add sortable 'Added' column (created date+time, ISO in title) — recency curation per Steve's admin date-time rule; backend already returns created_at + supports created sort
74c3fba98200eba7ddb1230b048969debab5bc24 · 2026-08-05 14:21:59 -0700 · Steve Abrams
Files touched
M public/admin/pr-intelligence/organizations.htmlM public/admin/pr-intelligence/people.html
Diff
commit 74c3fba98200eba7ddb1230b048969debab5bc24
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Wed Aug 5 14:21:59 2026 -0700
People + Organizations lists: add sortable 'Added' column (created date+time, ISO in title) — recency curation per Steve's admin date-time rule; backend already returns created_at + supports created sort
---
public/admin/pr-intelligence/organizations.html | 1 +
public/admin/pr-intelligence/people.html | 1 +
2 files changed, 2 insertions(+)
diff --git a/public/admin/pr-intelligence/organizations.html b/public/admin/pr-intelligence/organizations.html
index 71944ce4..cb2d10d9 100644
--- a/public/admin/pr-intelligence/organizations.html
+++ b/public/admin/pr-intelligence/organizations.html
@@ -251,6 +251,7 @@
{ key: 'priority', label: 'Priority', render: (r) => PR.score(r.priority_score) },
{ key: 'status', label: 'Status', render: (r) => PR.statusBadge(r.lifecycle_status) },
{ key: 'verified', label: 'Verified', render: (r) => PR.dateShort(r.last_verified_at) },
+ { key: 'created', label: 'Added', render: (r) => `<span title="${PR.esc(r.created_at || '')}">🕓 ${PR.date(r.created_at)}</span>` },
];
// ── Expand renderer (inline detail strip) ───────────────────────────────────
diff --git a/public/admin/pr-intelligence/people.html b/public/admin/pr-intelligence/people.html
index cbb5a500..5828ddf6 100644
--- a/public/admin/pr-intelligence/people.html
+++ b/public/admin/pr-intelligence/people.html
@@ -53,6 +53,7 @@
{ key: 'priority', label: 'Priority', render: (r) => PR.score(r.contact_priority_score) },
{ key: 'status', label: 'Status', render: (r) => PR.statusBadge(r.lifecycle_status) },
{ key: 'verified', label: 'Verified', render: (r) => PR.dateShort(r.last_verified_at) },
+ { key: 'created', label: 'Added', render: (r) => `<span title="${PR.esc(r.created_at || '')}">🕓 ${PR.date(r.created_at)}</span>` },
], { onSort: (s, d2) => { sort = s; dir = d2; load(); }, onRow: (r) => openPerson(r.id) });
c.appendChild(tbl.el);
const pagerBox = document.createElement('div'); c.appendChild(pagerBox);
← 1edf0c45 PR intel: LinkedIn enrichment via Brave search (local, key s
·
back to Rentv
·
Cody-gate fixes: harden PR.date with isNaN guard (was render 80087c0b →