mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-11-03 13:55:30 -05:00
Photos listed only a folder's direct children and never saw the explorer's search, so searching from a folder of folders showed no photos. search.media pages images and videos straight from source SQLite. Files come out in the order the directory_path and sibling indexes already keep, so a page reads its own rows and resumes from a (source, directory, name) cursor. Extension, kind and hidden narrow in SQL; name, size, date and tags are judged per row the way the store backend of search.files judges them. A folder reaches its innermost source and any sources nested beneath it. The navigation focus now carries the running search, and Photos lists it in place of the folder. Folders list everything beneath them. Pages grow the grid as they land, and tile identities name their drive's cache, so a library-wide search across drives renders.