Skip to content

Commit 556326c

Browse files
authored
Merge pull request #47129 from nextcloud/backport/47120/stable29
[stable29] fix(systemtags): Correctly load tagged files in "tags"-files-view
2 parents 2d08bca + 5a8a8f7 commit 556326c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/systemtags/src/services/systemtags.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const getContents = async (path = '/'): Promise<ContentsWithRoot> => {
7474
}
7575
}
7676

77-
const tagId = parseInt(path.split('/', 2)[0])
77+
const tagId = parseInt(path.split('/', 2)[1])
7878
const tag = tagsCache.find(tag => tag.id === tagId)
7979

8080
if (!tag) {

dist/systemtags-init.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)