nextcloud / nextcloud/ios

Search result show wrong folder

Open
#1,669 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Steps to reproduce
  1. Go in folder, like /Photos/2021/ and search "Something" present in other folder, like both /Photos/2016/ and /Photos/2021/
  2. You get all the results, with no indication of the full path (first bad thing)
Expected behaviour
  1. If you click on one result, like the one in /Photos/2016/, you should have "2016" indicated at top left corner as parent folder
Actual behaviour
  1. If you click on one result, like the one in /Photos/2016/, you still have "2021" indicated at top left corner as parent folder, like it was at step 1.
Screenshots

iPhone screenshot
https://i54.servimg.com/u/f54/19/38/38/88/save_210.jpg

Windows screenshot wit full path
https://i54.servimg.com/u/f54/19/38/38/88/image_10.png

Reasoning or why should it be changed/implemented?

Not the behavior expected

Environment data

Nextcloud iOS app version: 4.0.5

Server operating system: Ubuntu 20.04.2 LTS
Web server: Apache
Database: Mariadb

Nextcloud version: Nextcloud 21.0.2

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 search flow described in the issue on the Nextcloud iOS app: search from one folder, then open a result from another folder. The fix is complete when the selected result shows its actual parent folder, such as “2016” instead of the originating “2021,” and the result path is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, 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.