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

circulation: add control on circulation operation #1502

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

zannkukai
Copy link
Contributor

@zannkukai zannkukai commented Nov 25, 2020

Closes #1470
If a circulation policy disallow checkout operation, the error message
returned was not user friendly. This commit add a check for checkout
operation on cipo; this check return a better error message.

Closes #1383
If a patron is blocked for any reasons, this user couldn't extend any
active loan.

Closes #1507
Fixes 'status' facet problem on items result list. Despite if user
choose a status to faceting the results, the facet value didn't apply.

Co-Authored-by: Renaud Michotte renaud.michotte@gmail.com

Code review check list

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

@zannkukai zannkukai self-assigned this Nov 25, 2020
@zannkukai zannkukai added f: circulation Concerns the circulation interface or backend bug Breaks something but is not blocking labels Nov 25, 2020
@zannkukai zannkukai marked this pull request as ready for review November 25, 2020 16:45
@zannkukai zannkukai force-pushed the zan-fix-cipo-checkout branch from 565145d to a3ef7db Compare November 25, 2020 16:54
@zannkukai zannkukai linked an issue Nov 25, 2020 that may be closed by this pull request
@iGormilhit iGormilhit changed the title circulation: add control on circulation operation. circulation: add control on circulation operation Nov 26, 2020
@iGormilhit iGormilhit added this to the v0.15.0 milestone Nov 26, 2020
Copy link

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

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

Minor commit changes:

circulation: add control on circulation operation

Closes rero/rero-ils#1470
If a circulation policy disallow checkout operation, the error message
returned was not user friendly. This commit add a check for checkout
operation on circulation policy; this check return a better error
message.

Closes rero/rero-ils#1383
If a patron is blocked for any reasons, this user shouldn't be able to
extend any active loan.

Closes rero/rero-ils#1507
Fixes 'status' facet problem on items result list. Despite if user
select a status facet to filter the results, the facet value didn't
apply.

No trailing dot on commit title.

Closes rero#1470
If a circulation policy disallow checkout operation, the error message
returned was not user friendly. This commit add a check for checkout
operation on circulation policy; this check return a better error
message.

Closes rero#1383
If a patron is blocked for any reasons, this user shouldn't be able to
extend any active loan.

Closes rero#1507
Fixes 'status' facet problem on items result list. Despite if user
select a status facet to filter the results, the facet value didn't
apply.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
@zannkukai zannkukai merged commit f6c73a8 into rero:dev Nov 30, 2020
@zannkukai zannkukai deleted the zan-fix-cipo-checkout branch November 30, 2020 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks something but is not blocking f: circulation Concerns the circulation interface or backend
Projects
None yet
4 participants