You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Preview from a filtered list steps through files the filter hides #4235
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
A preview opened from filtered search results or a filtered Favorites list counts and steps through files the filter hides. useAppFolderHandling.ts reruns the search with only the term (there's a TODO for the filters), and the favorites loader reads the filters from the current route, which is the preview route, not the list.
Reproduction Steps
Put zq-one.png, zq-two.jpg, zq-four.png and zq-three.mp3 in your personal space
Open /files/search/list?term=zq&q_mediaType=image (3 images listed)
Open an image in the preview and press Next a few times
Expected Outcome
The preview only goes through the 3 listed images ("1 of 3").
Actual Outcome
It says "1 of 4" and Next shows zq-three.mp3. Same for Favorites with a media type filter.
Activity