-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent Files sometimes don't work #10770
Comments
Here the same with Nextcloud 14.0.2. I only see an empty page on recent files. |
Are there groupfolders active for the users/instances it doesn't work? |
On the instance of @karlitschek it isn't. |
yep. no groupfolders here |
We just looked into this and the reason for this behavior is that shared folders are not fetched for the "recent files" view: server/lib/private/Files/Node/Folder.php Lines 364 to 414 in 9d9f690
It only fetches from real storages with a storage ID that stored in the file cache, but shares are only virtual mount points into the user folder and thus it will not fetch the recent files from them properly. cc @icewind1991 @rullzer Any clever idea how to also include those subfolders or single files of storages in the SQL query or should we inject them separately somehow? |
So. it seems we have code duplication here I think. because we could just use the cache searching. There shared folders work. (it is the thing we use for the dav searches as well). It is not the most effective code but good enough for now I'd say. |
Fix is in #14185 |
If you click on recent files in the left side bar you should see your recent changed files. This works on my private instance but on cloud.nc.com I only see an empty page.
The text was updated successfully, but these errors were encountered: