summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-08-08 12:43:29 +0200
committerGitHub <noreply@github.com>2024-08-08 12:43:29 +0200
commit6fae82a68e599644004262e7b1d3cb5c831ac886 (patch)
tree3b5c2c5c97a81f6a8fd7840e9645588116dd1c5b /apps
parentd90a456598883ece714e1827b682de9df185a641 (diff)
parentb97ef6e16bd9158a012005c2af35a40aae15d94c (diff)
downloadnextcloud-server-6fae82a68e599644004262e7b1d3cb5c831ac886.tar.gz
nextcloud-server-6fae82a68e599644004262e7b1d3cb5c831ac886.zip
Merge pull request #47128 from nextcloud/backport/47120/stable28
[stable28] fix(systemtags): Correctly load tagged files in "tags"-files-view
Diffstat (limited to 'apps')
-rw-r--r--apps/systemtags/src/services/systemtags.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/systemtags/src/services/systemtags.ts b/apps/systemtags/src/services/systemtags.ts
index 27a8b1c6874..4f3a847c2f5 100644
--- a/apps/systemtags/src/services/systemtags.ts
+++ b/apps/systemtags/src/services/systemtags.ts
@@ -74,7 +74,7 @@ export const getContents = async (path = '/'): Promise<ContentsWithRoot> => {
}
}
- const tagId = parseInt(path.split('/', 2)[0])
+ const tagId = parseInt(path.split('/', 2)[1])
const tag = tagsCache.find(tag => tag.id === tagId)
if (!tag) {