Recent file list shows oldest file on top of the list instead of most recent file
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 1
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 10
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Open the Office App
- Select Texdocuments
- Select Recent Textdocuments tab: either on All or Mine the oldest file is show on top, browding the list down shows most recent file on the end of the list.
Expected behaviour
Most recent file should show on top of the list. I think this is what a user would expect and if the list is long the user has to scroll down to get to the most recently used file which is not verry convinient.
Actual behaviour
Oldest file shows on top of the list.
Server configuration
Web server: Apache
Database: PostgreSQL 14.23
PHP version: 8.4.23
Nextcloud version: 24.0.3
List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
Browser
Browser name: Edge
Browser version: 151.0.4129.78
Operating system: Windows
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
Start by reproducing the issue in the Office App through the Recent Textdocuments tab, using both All and Mine. Locate the implementation that builds and orders this list, then verify that the newest file appears first and add or run regression coverage for the ordering.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100