Send file path to the client also, fix revision history

(cherry picked from commit 66935d4bed3dc053b00fdb86921d127fbc11ada9)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
Pranav Kant 2017-03-23 15:16:31 +05:30 committed by Andras Timar
parent 7e4c59e360
commit c21c029fa4

View File

@ -107,7 +107,7 @@ class DocumentController extends Controller {
'fileId' => $item->getId() . '_' . $this->settings->getSystemValue('instanceid'),
'token' => $token,
'urlsrc' => $urlSrc,
'path' => '/',
'path' => $folder->getRelativePath($item->getPath()),
'instanceId' => $this->settings->getSystemValue('instanceid'),
];