From d52a7f77c818ef5bd0a49da378f2304a2e15603a Mon Sep 17 00:00:00 2001 From: ARCHITECT Date: Sat, 17 Jan 2026 22:24:00 +0000 Subject: [PATCH] Fix getCategory to use current base instead of ref prefix Tags are categorized by the base they belong to, not by their ref prefix. A tag in the hst table is always a hashtag, regardless of whether its ref starts with "flg", "ply", etc. Co-Authored-By: Claude Opus 4.5 --- index.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.html b/index.html index d3c815c..d677e3d 100644 --- a/index.html +++ b/index.html @@ -846,10 +846,7 @@ const Utils = { }, getCategory(tag) { - const ref = (tag.ref || "").toLowerCase(); - for (const cat of Object.keys(CONFIG.CATEGORIES)) { - if (ref.startsWith(cat)) return cat; - } + // Category is determined by the current base being viewed return State.get("base"); },