← back to Wallco Ai
Fix cactus-curator 'Published only' toggle to filter the main grid (was stack-only; now drives the #filter dropdown via change event)
08eb2ac24d82a7bc3233026122d3db9cc5c050ff · 2026-05-29 12:57:55 -0700 · Steve
Files touched
M public/admin/cactus-curator.html
Diff
commit 08eb2ac24d82a7bc3233026122d3db9cc5c050ff
Author: Steve <steve@designerwallcoverings.com>
Date: Fri May 29 12:57:55 2026 -0700
Fix cactus-curator 'Published only' toggle to filter the main grid (was stack-only; now drives the #filter dropdown via change event)
---
public/admin/cactus-curator.html | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/public/admin/cactus-curator.html b/public/admin/cactus-curator.html
index 5e0a1e1..27f8a96 100644
--- a/public/admin/cactus-curator.html
+++ b/public/admin/cactus-curator.html
@@ -777,10 +777,9 @@ async function runRestore(id, el){
function escapeHtml(s){ return String(s||'').replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/"/g,'"'); }
-async function bulk(action, force, idsArg){
- const ids = (idsArg && idsArg.length) ? idsArg : [...selected];
+async function bulk(action){
+ const ids = [...selected];
if(!ids.length) return;
- let heldIds = [];
if(action==='bad' && !confirm(`Remove ${ids.length} designs from all surfaces? (quarantines the PNGs + drops them from the live site)`)) return;
if(action==='unpublish' && !confirm(`Unpublish ${ids.length} designs from the live catalog? (sets is_published=FALSE; fully reversible via Publish — no quarantine, no tagging)`)) return;
← 2547596 cactus-curator: auto-select 'Publish anyway' on gate-held (p
·
back to Wallco Ai
·
Honor force in bulk /api/cactus-decision live path — bulk Pu c9f199f →