[object Object]

โ† back to Commercialrealestate

CRCP mls: surface '๐Ÿ•“ Newest (first seen)' at top of sort dropdown โ†’ first_seen desc (Cody cycle-4 hole #3; dedupes the buried 'Sort: First seen')

f6db22ca3b6a4bd341006ab20c0b92748d673060 ยท 2026-08-06 17:36:36 -0700 ยท Steve Abrams

Files touched

Diff

commit f6db22ca3b6a4bd341006ab20c0b92748d673060
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Aug 6 17:36:36 2026 -0700

    CRCP mls: surface '๐Ÿ•“ Newest (first seen)' at top of sort dropdown โ†’ first_seen desc (Cody cycle-4 hole #3; dedupes the buried 'Sort: First seen')
---
 public/mls.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/mls.html b/public/mls.html
index 328790d..10b5562 100644
--- a/public/mls.html
+++ b/public/mls.html
@@ -487,7 +487,7 @@ $('#view').addEventListener('click',e=>{ const b=e.target.closest('button'); if(
 (function(){
   const sel=$('#sortsel'); const dz=$('#density');
   // build sort options from COLS (skip the source link column)
-  sel.innerHTML=COLS.filter(c=>c.t!=='link').map(c=>`<option value="${c.k}">Sort: ${esc(c.l==='#'?'Default (rank)':c.l)}</option>`).join('');
+  sel.innerHTML='<option value="first_seen">๐Ÿ•“ Newest (first seen)</option>'+COLS.filter(c=>c.t!=='link'&&c.k!=='first_seen').map(c=>`<option value="${c.k}">Sort: ${esc(c.l==='#'?'Default (rank)':c.l)}</option>`).join('');
   // restore persisted sort
   const sk=localStorage.getItem('mlsSortKey'); const sd=localStorage.getItem('mlsSortDir');
   if(sk && COLS.some(c=>c.k===sk)) sortKey=sk;

โ† 59bdb78 property-detail drill: Cody Cycle-3 fixes (Escape-close + st  ยท  back to Commercialrealestate  ยท  deals-flow: 'look up any LA property' address box -> dossier 1d92fcb โ†’