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

patrons: fix subscriptions renewal problem. #1372

Merged
merged 1 commit into from
Nov 5, 2020

Conversation

zannkukai
Copy link
Contributor

The method to retrieve patrons without valid subscriptions doesn't
works as expected. Each day, a new subscription will be added for all
patrons linked to patron_type requiring a subscription, even if they
have a valid one.
This commit fixes this problem.

Closes #1317

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?

The method to retrieve patrons without valid subscriptions doesn't
works as expected. Each day, a new subscription will be added for all
patrons linked to patron_type requiring a subscription, even if they
have a valid one.

Closes rero#1317

Co-Authored-by: Renaud Michotte <[email protected]>
Co-Authored-by: lauren-d <[email protected]>
@zannkukai zannkukai force-pushed the zan-fix-subscriptions branch from a44bbc2 to 06f64c7 Compare November 5, 2020 09:43
@zannkukai zannkukai marked this pull request as ready for review November 5, 2020 11:59
@zannkukai zannkukai merged commit 436c825 into rero:v0.14 Nov 5, 2020
@zannkukai zannkukai deleted the zan-fix-subscriptions branch November 5, 2020 11:59
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.

3 participants