From c48666843ad9c97037b9f84681d8e4b6e9187be6 Mon Sep 17 00:00:00 2001 From: MarekWo Date: Fri, 20 Mar 2026 21:22:52 +0100 Subject: [PATCH] fix(contacts): show ignored/blocked contacts in All Sources filter Previously ignored and blocked contacts were hidden from the "All Sources" view, making them only discoverable via dedicated Ignored/Blocked filters. Co-Authored-By: Claude Opus 4.6 --- app/static/js/contacts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/static/js/contacts.js b/app/static/js/contacts.js index 0a31470..75e3f51 100644 --- a/app/static/js/contacts.js +++ b/app/static/js/contacts.js @@ -1928,8 +1928,8 @@ function applySortAndFilters() { if (selectedSource === 'CACHE' && contact.on_device) return false; if (selectedSource === 'IGNORED' && !contact.is_ignored) return false; if (selectedSource === 'BLOCKED' && !contact.is_blocked) return false; - // Hide ignored/blocked from ALL/DEVICE/CACHE views - if (selectedSource !== 'IGNORED' && selectedSource !== 'BLOCKED') { + // Hide ignored/blocked from DEVICE/CACHE views (but show in ALL) + if (selectedSource !== 'ALL' && selectedSource !== 'IGNORED' && selectedSource !== 'BLOCKED') { if (contact.is_ignored || contact.is_blocked) return false; }