Two paired fixes for the folder tree on the timeline: * +page.svelte: drop the `Path === ''` post-filter for the root entry. PhotoPrism's indexer always nests photos under YYYY/MM, so "photos whose Path is empty" is always the empty set in practice — the root entry looked broken instead of "whole library". Treat `/` as the unscoped view and rely on subfolder selections (now wildcarded via filters.svelte.ts) for narrowing. * sidecar/handlers_folders.go: the per-folder count fan-out used `q=path:<x>`, the same exact-match operator that just got fixed in the web filter. Result: every year-level folder reported count=0 in the sidebar. Switch to `q=path:"<x>*"` so the count reflects the whole subtree (dedupe by UID still in place).
9.4 KiB
9.4 KiB