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
Next and previous buttons do not respect sort order #3027
Describe the bug
Hi,
When viewing photos sorted by Modified date and clicking next, the next file is the next by alphabetical order, not by modified date.
Nextcloud version: 32.0.2
To Reproduce
Steps to reproduce the behavior:
Go to a folder containing pictures
Click "Modified" to sort by modified date
Click a picture
Click next
The next picture is the next one in alphabetical order
Expected behavior
The next picture should be the next by modified date.
Screenshots
Pick an image:
Click next:
The wrong image is shown, it should have been 2025-11-22 13-46-55 (B,R2,S2).jpg instead
Desktop (please complete the following information):
Activity
gdtv commentedon Feb 27, 2026
Any update on the linked PR #2989? Still experiencing this in latest NC version. Thanks!
test(viewer): add e2e regression tests for the fixed issues
skjnldsv commentedon Sep 8, 2026
Fixed for 36.
test(viewer): cover the active sort order in next and previous
fix(viewer): order a fetched folder like the files list does
docs(viewer): document which list order the viewer follows
fix: sort a fetched folder the way the user sorted their files
test(viewer): cover the active sort order in next and previous
fix(viewer): order a fetched folder like the files list does
docs(viewer): document which list order the viewer follows
fix: sort a fetched folder the way the user sorted their files
test(viewer): cover the active sort order in next and previous
fix(viewer): order a fetched folder like the files list does
docs(viewer): document which list order the viewer follows
skjnldsv commentedon Oct 3, 2026
Fixed in the new viewer: next and previous follow the order of the Files list, including sorting by modified date.