-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add $shallow
arg to ShareByCircleProvider::getSharesInFolder
#1117
Add $shallow
arg to ShareByCircleProvider::getSharesInFolder
#1117
Conversation
$shallow
arg to ShareByCircleProvider::getSharesInFolder
$shallow
arg to ShareByCircleProvider::getSharesInFolder
$shallow
arg to RoomShareProvider::getSharesInFolder
$shallow
arg to RoomShareProvider::getSharesInFolder
$shallow
arg to ShareByCircleProvider::getSharesInFolder
Yes, it seems you can pass circles/lib/ShareByCircleProvider.php Line 411 in 94b67c2
Not sure if $node can still really be null at this point of the process |
also, for the sql requestion (around circles/lib/Db/ShareWrapperRequest.php Line 382 in 94b67c2
|
402d6c3
to
217fd60
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no tested, looks good !
A new `$shallow` argument was introduced to `IShareProvider::getSharesInFolder` in NC25 by nextcloud/server#31728. This PR adds this new argument and the necessary changes to make it work based on this example https://github.com/nextcloud/server/pull/31728/files#diff-dee1351696d7eae959761edf66c8e5a9052e28be73319733d857a9ab2d9fc967= Signed-off-by: Louis Chemineau <[email protected]>
217fd60
to
1538c2d
Compare
A new
$shallow
argument was introduced toIShareProvider::getSharesInFolder
in NC25 by nextcloud/server#31728.This PR adds this new argument and the necessary changes to make it work based on this example https://github.com/nextcloud/server/pull/31728/files#diff-dee1351696d7eae959761edf66c8e5a9052e28be73319733d857a9ab2d9fc967=
Looks like in the context of
ShareWrapperRequest
, the$shallow
argument can't be used as we only have thenodeId
so we cannot use the same method as in other places:Should we change the methods to forward
$node
instead of$nodeId
?