From 5f4b1d96f64854a2ff39ed4d0a56dc3049b0fd9a Mon Sep 17 00:00:00 2001 From: Admin Date: Sun, 1 Mar 2026 22:59:03 +0500 Subject: [PATCH] Fix ranking filter to search across all pages using full JSON dataset Embed the complete ranking JSON into the page and replace the DOM-only filter with a client-side search over ALL_ITEMS. When a filter is active the grid is re-rendered from the full dataset; clearing filters restores the server-paginated view. Also adds summary zoom overlay on the book page. --- scraper/internal/server/ui.go | 263 ++++++++++++++++++++++++---------- 1 file changed, 186 insertions(+), 77 deletions(-) diff --git a/scraper/internal/server/ui.go b/scraper/internal/server/ui.go index 38a9276..ea59431 100644 --- a/scraper/internal/server/ui.go +++ b/scraper/internal/server/ui.go @@ -815,6 +815,7 @@ const rankingTmpl = `