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

[11.x] Fix quantity methods #919

Merged
merged 2 commits into from
Apr 17, 2020
Merged

[11.x] Fix quantity methods #919

merged 2 commits into from
Apr 17, 2020

Conversation

driesvints
Copy link
Member

It turned out that the current increment and decrement methods still derived the quantity from the main subscription instead of the subscription items when a plan was passed. I refactored the code a bit and moved the quantity updates to the subscription items themselves. The code is a whole lot cleaner now.

No breaking changes.

Fixes #917

@taylorotwell taylorotwell merged commit 05b289d into 11.x Apr 17, 2020
@driesvints driesvints deleted the fix-quantity-methods branch April 17, 2020 14:43
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.

Increment Quantity on MultiPlan
2 participants