Skip to content

Incorrect number of stamps by countries and categories when collection contains incomplete series #1143

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

Closed
php-coder opened this issue Oct 23, 2019 · 4 comments
Assignees
Labels
Milestone

Comments

@php-coder
Copy link
Owner

php-coder commented Oct 23, 2019

Steps to reproduce:

  • add a series id=2 to user's collection with only 1 stamp
  • on the collection page, check statistics by categories/countries

Expected result: 1 stamp
Actual result: 2 stamps

@php-coder php-coder added this to the 0.4.2 milestone Oct 23, 2019
@php-coder php-coder self-assigned this Nov 2, 2019
@php-coder
Copy link
Owner Author

This is hard or nearly impossible to test as this statistic affects only diagrams. I'm going to write tests for DAO layer to ensure that the methods returns different numbers depending on data.

@0pdd
Copy link

0pdd commented Nov 8, 2019

@php-coder 2 puzzles #1150, #1151 are still not solved.

php-coder added a commit that referenced this issue Nov 8, 2019
… categories when a user has an incomplete series.

Fix half of #1143
php-coder added a commit that referenced this issue Nov 9, 2019
… countries when a user has an incomplete series.

Fix the last half of #1143
@php-coder
Copy link
Owner Author

php-coder commented Nov 9, 2019

Done -- both counters have been fixed.

@0pdd
Copy link

0pdd commented Dec 12, 2019

@php-coder the puzzle #1151 is still not solved; solved: #1150.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants