nextcloud / nextcloud/office

Recent file list shows oldest file on top of the list instead of most recent file

Open
#119 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
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
  1. Open the Office App
  2. Select Texdocuments
  3. 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.
Image
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.