Skip to content

armgit / kanzo

Public Imported from GitHub
0

Self-hosted, sharable kanban for humans and agents. One 4.7 MB binary, 5 MB of RAM, 10 to 60 tokens per agent reply, starts in 3 ms, zero setup.

Read a task's tags as the list they always are

emanuele-em054f270981ee
diff --git a/src/app.js b/src/app.js
index 966e110..8e74f1a 100644
--- a/src/app.js
+++ b/src/app.js
@@ -576,8 +576,7 @@ function filterWords() {
function matchesFilter(t, words) {
if (!words.length) return true;
- const tags = Array.isArray(t.tags) ? t.tags.join(" ") : t.tags || "";
- const text = `${t.project}#${t.id} ${t.title} ${t.description || ""} ${tags}`.toLowerCase();
+ const text = `${t.project}#${t.id} ${t.title} ${t.description || ""} ${t.tags.join(" ")}`.toLowerCase();
return words.every((w) => text.includes(w));
}