mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 00:02:54 -04:00
fix(files_trashbin): Original name of the deleted files should be set as display name for DAV
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
39780506f0
commit
19895aa5db
1 changed files with 5 additions and 0 deletions
|
|
@ -67,6 +67,11 @@ class TrashbinPlugin extends ServerPlugin {
|
|||
return;
|
||||
}
|
||||
|
||||
// Pass the real filename as the DAV display name
|
||||
$propFind->handle(FilesPlugin::DISPLAYNAME_PROPERTYNAME, function () use ($node) {
|
||||
return $node->getFilename();
|
||||
});
|
||||
|
||||
$propFind->handle(self::TRASHBIN_FILENAME, function () use ($node) {
|
||||
return $node->getFilename();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue