From 2ad847f94ed47ffc40075b3753ad4027c46ee604 Mon Sep 17 00:00:00 2001 From: dlynas <118506937+dlynas@users.noreply.github.com> Date: Fri, 8 May 2026 17:50:38 -0400 Subject: [PATCH] feat: add sort dropdown to discography modal filter bar Date desc/asc and Name A-Z/Z-A options added to the filter bar. Sorting reorders DOM nodes in place so checkbox selection state is preserved across sort changes. Co-Authored-By: Claude Sonnet 4.6 --- webui/static/library.js | 25 ++++++++++++++++++++++++- webui/static/style.css | 9 +++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/webui/static/library.js b/webui/static/library.js index 2d050e1d..f82d712d 100644 --- a/webui/static/library.js +++ b/webui/static/library.js @@ -2452,6 +2452,12 @@ async function openDiscographyModal() {
+
@@ -2500,7 +2506,10 @@ function _renderDiscogCard(release, index, completionData) { const albumName = release.name || release.title || ''; return ` -