aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Controller
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2025-02-20 14:32:22 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2025-02-20 14:32:22 +0100
commit7e6608d119564abb8902883a6b8fc9cb05eb5bf8 (patch)
tree2e9f53742fbb3b2e4287da5ce84746c5b7e73366 /apps/files_sharing/lib/Controller
parentaa4a92451973edaa4ff53cb28ba471afb3ce5a39 (diff)
downloadnextcloud-server-7e6608d119564abb8902883a6b8fc9cb05eb5bf8.tar.gz
nextcloud-server-7e6608d119564abb8902883a6b8fc9cb05eb5bf8.zip
fix(files_sharing): Also list deleted team sharesfix/show-deleted-team-shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files_sharing/lib/Controller')
-rw-r--r--apps/files_sharing/lib/Controller/DeletedShareAPIController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php
index fcd33bd88e6..c4cf09d6f03 100644
--- a/apps/files_sharing/lib/Controller/DeletedShareAPIController.php
+++ b/apps/files_sharing/lib/Controller/DeletedShareAPIController.php
@@ -142,11 +142,12 @@ class DeletedShareAPIController extends OCSController {
#[NoAdminRequired]
public function index(): DataResponse {
$groupShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_GROUP, null, -1, 0);
+ $teamShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_CIRCLE, null, -1, 0);
$roomShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_ROOM, null, -1, 0);
$deckShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_DECK, null, -1, 0);
$sciencemeshShares = $this->shareManager->getDeletedSharedWith($this->userId, IShare::TYPE_SCIENCEMESH, null, -1, 0);
- $shares = array_merge($groupShares, $roomShares, $deckShares, $sciencemeshShares);
+ $shares = array_merge($groupShares, $teamShares, $roomShares, $deckShares, $sciencemeshShares);
$shares = array_values(array_map(function (IShare $share) {
return $this->formatShare($share);