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: allow request for organisation items #342

Merged
merged 1 commit into from
Sep 2, 2020

Conversation

zannkukai
Copy link
Contributor

The request document button was only available for the current library
items. This commit updates this behavior ; now all items of the current
logged user application can be requested.

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

Why are you opening this PR?

Closes rero/rero-ils#927

How to test?

  • Try to request a document for another library than the current logged user library (but in the same organisation)

Code review check list

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

@zannkukai zannkukai self-assigned this Aug 20, 2020
@zannkukai zannkukai force-pushed the zan-#1656-fix-request-permissions branch 2 times, most recently from f67bcad to fbde8eb Compare August 20, 2020 09:15
@@ -30,23 +30,21 @@
{{ callNumber }}
</div>
<div class="col-sm-4 text-right">
<ng-container *ngIf="isHoldingMatchUserLibraryPID">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

diff is not always user friendly... in this case I only removed <ng-container *ngIf="isHoldingMatchUserLibraryPID">. The button is now based only on permissions.

@iGormilhit iGormilhit added the f: circulation Concerns the circulation interface or backend label Aug 24, 2020
@zannkukai zannkukai force-pushed the zan-#1656-fix-request-permissions branch 2 times, most recently from fd19de8 to a4c9304 Compare August 24, 2020 16:07
@zannkukai zannkukai marked this pull request as ready for review August 24, 2020 16:07
Copy link
Contributor

@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.

In English there's no space before punctuations like : or ;.

Otherwise, the commit message is fine.

@zannkukai zannkukai force-pushed the zan-#1656-fix-request-permissions branch from a4c9304 to 19447f4 Compare August 25, 2020 05:45
Copy link
Contributor

@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.

Commit message approved.

@zannkukai zannkukai added this to the v0.13.0 (rero-ils) milestone Aug 26, 2020
The request document button was only available for the current library
items. This commit updates this behavior; now all items of the current
logged user application can be requested.

Closes rero/rero-ils#927

Co-authored-by: Renaud Michotte <renaud.michotte@gmail.com>
@zannkukai zannkukai force-pushed the zan-#1656-fix-request-permissions branch from 19447f4 to c74dc0d Compare August 26, 2020 08:03
@zannkukai zannkukai merged commit ebc39f2 into rero:dev Sep 2, 2020
@zannkukai zannkukai deleted the zan-#1656-fix-request-permissions branch September 2, 2020 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: circulation Concerns the circulation interface or backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Impossible to request a document of another library
4 participants