From b850a624540c3c4ab2d5349ebc6362685e4d85bb Mon Sep 17 00:00:00 2001 From: JanAckermann Date: Thu, 21 Jul 2022 10:42:24 +0200 Subject: [PATCH 1/3] Set storageId to spaceId --- .../src/components/FilesList/ResourceTable.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/web-app-files/src/components/FilesList/ResourceTable.vue b/packages/web-app-files/src/components/FilesList/ResourceTable.vue index edb1aea9e70..74c532538e8 100644 --- a/packages/web-app-files/src/components/FilesList/ResourceTable.vue +++ b/packages/web-app-files/src/components/FilesList/ResourceTable.vue @@ -601,11 +601,12 @@ export default defineComponent({ ...this.targetRoute.query } + const matchingSpace = this.getMatchingSpace(resource.storageId) + if (this.hasProjectSpaces) { - const matchingSpace = this.getMatchingSpace(resource.storageId) if (matchingSpace?.driveType === 'project') { return createLocationSpaces('files-spaces-project', { - params, + params: { ...params, storageId: matchingSpace?.id || params.storageId }, query }) } @@ -613,7 +614,7 @@ export default defineComponent({ return { name: this.targetRoute.name, - params, + params: { ...params, storageId: matchingSpace?.id || params.storageId }, query } }, From 9902394ec97fdb7c269def7171044cdeaea4acb2 Mon Sep 17 00:00:00 2001 From: JanAckermann Date: Thu, 21 Jul 2022 10:46:47 +0200 Subject: [PATCH 2/3] Add changelog item --- .../bugfix-shared-with-others-and-via-link-resource-links | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changelog/unreleased/bugfix-shared-with-others-and-via-link-resource-links diff --git a/changelog/unreleased/bugfix-shared-with-others-and-via-link-resource-links b/changelog/unreleased/bugfix-shared-with-others-and-via-link-resource-links new file mode 100644 index 00000000000..8317fbee433 --- /dev/null +++ b/changelog/unreleased/bugfix-shared-with-others-and-via-link-resource-links @@ -0,0 +1,6 @@ +Bugfix: "Shared with others" and "Shared via Link" page resource links not working + +We've fixed a bug where resource links in "Shared with others" and "Shared via Link" page stopped working. + +https://github.com/owncloud/web/pull/7308 +https://github.com/owncloud/web/issues/7303 From 4cce2fc4044d9b0230dd42b3e29b4f84e48b5a47 Mon Sep 17 00:00:00 2001 From: JanAckermann Date: Thu, 21 Jul 2022 10:58:40 +0200 Subject: [PATCH 3/3] Fix changelog item title --- .../bugfix-shared-with-others-and-via-link-resource-links | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog/unreleased/bugfix-shared-with-others-and-via-link-resource-links b/changelog/unreleased/bugfix-shared-with-others-and-via-link-resource-links index 8317fbee433..8c07cfd2c75 100644 --- a/changelog/unreleased/bugfix-shared-with-others-and-via-link-resource-links +++ b/changelog/unreleased/bugfix-shared-with-others-and-via-link-resource-links @@ -1,4 +1,4 @@ -Bugfix: "Shared with others" and "Shared via Link" page resource links not working +Bugfix: "Shared with others" and "Shared via Link" resource links not working We've fixed a bug where resource links in "Shared with others" and "Shared via Link" page stopped working.