Fix archived status in entry listing and search

This commit is contained in:
thePR0M3TH3AN
2025-07-07 15:30:44 -04:00
parent 920c6bdc80
commit 97b2f07165
2 changed files with 60 additions and 2 deletions

View File

@@ -694,7 +694,15 @@ class EntryManager:
)
)
else:
entries.append((idx, label, None, None, False))
entries.append(
(
idx,
label,
None,
None,
entry.get("archived", entry.get("blacklisted", False)),
)
)
logger.debug(f"Total entries found: {len(entries)}")
for idx, entry in filtered_items:
@@ -791,7 +799,15 @@ class EntryManager:
)
else:
if label_match or notes_match:
results.append((int(idx), label, None, None, False))
results.append(
(
int(idx),
label,
None,
None,
entry.get("archived", entry.get("blacklisted", False)),
)
)
return results