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

AO3-5225 Fix include_private? when pseud_ids are specified. #3233

Merged

Conversation

tickinginstant
Copy link
Contributor

Issue

https://otwarchive.atlassian.net/browse/AO3-5225

Purpose

The bookmark count in the sidebar of pseud pages is broken, because the BookmarkQuery.user_ids function checks for the existence of options[:pseud_ids], then uses options[:pseud_id] instead. This pull request fixes the typo (and fixes another issue that I noticed, where an admin could potentially be mistaken for the user with the same ID).

Testing

Log in as someone with multiple pseuds and at least one private bookmark, and check whether the private bookmark is included in the sidebar count for the pseud with the bookmark.

@sarken sarken added Awaiting Review Priority: High - Broken on Test Merge immediately after approval labels Jan 29, 2018
@sarken sarken merged commit 9b1d383 into otwcode:master Jan 30, 2018
@tickinginstant tickinginstant deleted the AO3-5225-pseud-sidebar-bookmark-count branch March 17, 2018 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants