nextcloud / nextcloud/ios

Sort order by date and time no longer works

Open
#1,818 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Open App
  2. select arbitrary Golfer
  3. select date time sort order, e.g. newest first
Expected behaviour

I‘d expect to see files in specified order with respect to file‘s modification time.

Actual behaviour

Sort order seems to be somewhat arbitrary, because there are files displayed newer even though I didn‘t modify any of these (can be seen by displaying details)

Screenshots

Here is a screenshot of a file, which is flaged as modified 17 minutes ago whereas details contain a modifcation date 13 days ago!

grafik

Logs
If applicable, you can post the iOS app or server logs (removing any sensitive information).
Reasoning or why should it be changed/implemented?
Environment data

iOS version: e.g. iOS 14.4.1

Nextcloud iOS app version: see More > Settings

Server operating system:

Web server: Apache, nginx

Database:

PHP version:

Nextcloud version: see Nextcloud admin page

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 iOS app: choose a golfer, sort by date and time, and compare the displayed order with each file's details. Investigate the sorting path using the reported mismatch between a file shown as modified 17 minutes ago and its 13-day modification date; done means files consistently follow the selected modification-time order.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.