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

Fix order/display of IV and CP in Telegram /caught function #5610

Merged
merged 1 commit into from
Sep 22, 2016

Conversation

JaapMoolenaar
Copy link
Contributor

Short Description:

When using the /caught function in Telegram, the CP is always 0 (or 1 in case of a perfect iv) and IV holds the CP. This PR fixes that.

It now also retrieves only the needed information from the database in a set order; something I suggest you/we do more often, seeing as you almost always select all columns. (Which might even cause these kinds of bugs in case the order of the columns changes in the table).

Fixes/Resolves/Closes:

None

@mention-bot
Copy link

@JaapMoolenaar, thanks for your PR! By analyzing the annotation information on this pull request, we identified @javajohnHub, @Gobberwart and @DBa2016 to be potential reviewers

Copy link
Contributor

@javajohnHub javajohnHub left a comment

Choose a reason for hiding this comment

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

Looks good.

Copy link
Contributor

@solderzzc solderzzc left a comment

Choose a reason for hiding this comment

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

Really nice suggestion and fix.

@solderzzc
Copy link
Contributor

solderzzc commented Sep 22, 2016

👍

Approved with PullApprove

@solderzzc solderzzc merged commit fcc2a3f into PokemonGoF:dev Sep 22, 2016
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.

4 participants