Skip to content

Commit

Permalink
request: fix request made by a librarian
Browse files Browse the repository at this point in the history
* Changes messages.

Co-Authored-by: Alicia Zangger <[email protected]>
  • Loading branch information
Alicia Zangger committed Mar 13, 2020
1 parent 5da590e commit 6b0937b
Show file tree
Hide file tree
Showing 2 changed files with 2,152 additions and 2,151 deletions.
2 changes: 1 addition & 1 deletion rero_ils/modules/items/api_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def is_librarian_can_request_item_for_patron(
'library_pid': library_pid})
if not can_be_requested(loan):
return jsonify_response(
reason='Circulation policies do not allow request on this item.')
reason='Request not allowed by the circulation policy.')
if item.status != ItemStatus.MISSING:
loaned_to_patron = item.is_loaned_to_patron(patron_barcode)
if loaned_to_patron:
Expand Down
Loading

0 comments on commit 6b0937b

Please sign in to comment.