Skip to content

Commit

Permalink
Merge pull request #4289 from dragonchaser/fix-show-hide-in-listing
Browse files Browse the repository at this point in the history
Bugfix: add missing value asignment
  • Loading branch information
dragonchaser authored Oct 26, 2023
2 parents b57d70a + cbbe67e commit 1842f98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelog/unreleased/add-hide-flag-to-shares.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ We have added the ability to hide shares through the
ocs/v2.php/apps/files_sharing/api/v1/shares/pending/ endpoint
by appending a POST-Variable called hide which can be true or false.

https://github.com/cs3org/reva/pull/4289
https://github.com/cs3org/reva/pull/4194
https://github.com/owncloud/ocis/issues/7589
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ func (h *Handler) listSharesWithMe(w http.ResponseWriter, r *http.Request) {
}

data.State = mapState(rs.GetState())
data.Hidden = rs.Hidden

h.addFileInfo(ctx, data, info)
h.mapUserIds(r.Context(), client, data)
Expand Down

0 comments on commit 1842f98

Please sign in to comment.