Images/videos with an underscore are displayed in the wrong order
Open
Nobody has claimed this yet.
0. Needs triage
bug
- Dominant language
- JavaScript
- Stars
- 119
- Forks
- 72
- Avg merge
- 18h 42m
- Merged PRs (30d)
- 24
Description
Images/videos with an underscore are displayed in the wrong order in Viewer.
Correct sorting (the photos are displayed in Files in this order):
name.jpg
name_01.jpg
name_02.jpg
name_03.jpg
The photos are displayed in the wrong order in Viewer:
name_01.jpg
name_02.jpg
name_03.jpg
name.jpg
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the ordering in Viewer using the filenames shown in the issue, then compare it with the order in Files. Trace the Viewer sorting entry point and check the related Nextcloud server issue for context. Done means Viewer displays name.jpg before name_01.jpg, name_02.jpg, and name_03.jpg.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100