Skip to content
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

Files in shared folders do not show up? #27

Open
datenfalke opened this issue Jan 12, 2016 · 1 comment
Open

Files in shared folders do not show up? #27

datenfalke opened this issue Jan 12, 2016 · 1 comment

Comments

@datenfalke
Copy link

Hello!

I realized that tags (shared to "all") only work for shared files - not for files inside of shared folders. Is this correct?

I would like to have a shared folder (for a group of users) including subfolders which are full of pictures. These pictures should be tagged and filtered by tag by each user of the group.

If user A shares a folder with a group, the included files are not shown if user B (in the group) chooses a tag. You will get an empty result - also if user B chooses the "root" tag.

If a folder is shared to a user (not a group) you will get "image not available" instead of nothing - but still not what is needed.

Only if I share a picture (or multiple which can only done one by one) with a user, this picture shows up when choosing a tag.

Is it possible to code the functionality for group shared folders regarding oclife tags? If you think it is not so complicated I would try by myself, because I need the functionality for a customer.

Thank you and happy New Year!

@datenfalke
Copy link
Author

In the function "getOC7FileList" I found the following line. Should "getDirectoryContent" return all files including the ones from shared folders - or is this not the case?

$dirView = new \OC\Files\View('/' . $user);
$dirContent = $dirView->getDirectoryContent($path);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant