Skip to content

fix(files_sharing): Sort by correct share attribute ("share with displayname") - #47365

Merged
AndyScherzinger merged 2 commits into
masterfrom
fix/share-sorting
Aug 21, 2024
Merged

fix(files_sharing): Sort by correct share attribute ("share with displayname")#47365
AndyScherzinger merged 2 commits into
masterfrom
fix/share-sorting

Conversation

@susnux

@susnuxsusnux commented Aug 20, 2024

Copy link
Copy Markdown
Contributor

Summary

There is no title attribute, so this causes an exception. Instead sort by the "share with" displayname which will be the user or group the node is shared to. Meaning this will also be the title of the share in the UI. If this is not available or there are multiple for the same, then sort by the custom label. If also this is not set sort by the creation time.

Checklist

@susnux

Copy link
Copy Markdown
ContributorAuthor

/backport to stable30

…layname")
There is no `title` attribute, so this causes an exception.
Instead sort by the "share with" displayname which will be the user or group the node is shared to.
Meaning this will also be the title of the share in the UI.
If this is not available or there are multiple for the same, then sort by the custom label.
If also this is not set sort by the creation time.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux

Copy link
Copy Markdown
ContributorAuthor

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Error loadings shares list TypeError: t.title is undefined

4 participants

@susnux@AndyScherzinger@Pytal@nextcloud-command