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

Manage packages page / user profile broken #1624

Merged
merged 2 commits into from
Oct 7, 2013

Conversation

TimLovellSmith
Copy link
Member

Fixes #1370 - manage my packages page broken when you have a completely unlisted package
(Also fixes

  • user profile broken
  • user profile shows wrong download count [version] not package
  • completely unlisted packages should now be shown on 'manage packages' page, but not on your user profile)

Tim Lovell-Smith added 2 commits October 3, 2013 12:43
…eference bug that would occur if you have no latest package for that packageRegistration, i.e. you unlist all versions of that package.
… the redundant LINQ query from UsersController.cs - that was probably a bad merge? And possibly fix a bug where the package download count shown in Profile was that of the package and not the package registration.
{
mergedResults[package.PackageRegistration.Id] = package;
}
mergedResults[package.PackageRegistration.Id] = package;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's gotta be a LINQier way to do this, but whatever :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enumerable.Union maybe? :)

@analogrelay
Copy link
Contributor

:shipit:

analogrelay added a commit that referenced this pull request Oct 7, 2013
…rokenForBhuva

Manage packages page / user profile broken
@analogrelay analogrelay merged commit 99bcf57 into dev Oct 7, 2013
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.

2 participants