Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made owner deed list show owner's collection's deeds #3264

Merged
merged 2 commits into from
Aug 20, 2022

Conversation

sylvieed
Copy link
Collaborator

Resolves #3261

Previously, the "show more" (deed list) page for a collection owner was showing all of the FTP deeds instead of just deeds related to that owner.

This is because only options[:user_id] was being passed to the deed list page, which was nil, as options[:owner] is what carried the owner's id. Now options[:owner] is passed if options[:user_id] is nil.
In the deed list, it's checked if @user is an owner or not, and if it is, the deeds to display will be deeds on that owner's collections, just like on the shortened deed list.

image

@sylvieed sylvieed changed the title 3261 owner deed list Made owner deed list show owner's collection's deeds Aug 16, 2022
@benwbrum benwbrum merged commit 717d417 into development Aug 20, 2022
@benwbrum benwbrum deleted the 3261-owner-deed-list branch December 6, 2022 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"show more" on owner pages deed list take you to the deeds for all of FtP.
2 participants