fpiraneo / oclife

Tagging and getting extended document informations on ownCloud
GNU General Public License v3.0
18 stars 17 forks source link

Files in shared folders do not show up? #27

Open datenfalke opened 8 years ago

datenfalke commented 8 years ago

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 commented 8 years ago

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);