From 8f2a89d1a5f983060510da26397a6cda2ce1f752 Mon Sep 17 00:00:00 2001 From: dingo Date: Sat, 11 Apr 2026 13:39:45 -0400 Subject: [PATCH] Fix card report ability check and add description columns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - HasAbilities now uses JsonDocument to check array length > 0, so cards with an empty [] don't incorrectly show as having abilities. - Added Card Desc column/filter: whether the card's own Description field is non-empty. - Added Ability Desc column/filter: whether at least one ability in the JSON array has a non-empty description field. Shows — when card has no abilities. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- .../Components/Pages/Reports/CardReport.razor | 120 +++++++++++++++--- 1 file changed, 105 insertions(+), 15 deletions(-) diff --git a/Server/src/SOR.Admin/Components/Pages/Reports/CardReport.razor b/Server/src/SOR.Admin/Components/Pages/Reports/CardReport.razor index c6ea2cb..fa08734 100644 --- a/Server/src/SOR.Admin/Components/Pages/Reports/CardReport.razor +++ b/Server/src/SOR.Admin/Components/Pages/Reports/CardReport.razor @@ -107,6 +107,24 @@ +
+ + +
+
+ + +
+ +