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

ui: display library name instead of code #778

Merged
merged 1 commit into from
Feb 20, 2020

Conversation

jma
Copy link
Contributor

@jma jma commented Feb 20, 2020

Co-Authored-by: Johnny Mariéthoz [email protected]

Why are you opening this PR?

How to test?

  • Go to a document detailed view with holding check the holding location in the card header.

Code review check list

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

@jma jma added this to the v0.6.0 milestone Feb 20, 2020
@iGormilhit iGormilhit self-requested a review February 20, 2020 07:21
@iGormilhit iGormilhit requested a review from BadrAly February 20, 2020 07:22
* Changes the display in the document detailed view for holdings: the
library name replace the library code.
* Closes rero#776.
* Fixes travis tests introduced by previous commits.

Co-Authored-by: Johnny Mariéthoz <[email protected]>
@jma jma force-pushed the maj-fix-holding-display-location branch from 3f284cd to 51ba191 Compare February 20, 2020 08:11
@@ -299,7 +299,7 @@ def test_auto_checkin_else(client, librarian_martigny_no_email, lib_martigny,
assert item.status == ItemStatus.IN_TRANSIT

record, actions = item.automatic_checkin()
assert actions == {'no': None}
assert 'no' in actions
Copy link
Contributor

Choose a reason for hiding this comment

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

To be perfect, you could add this line just below :

assert actions['no']['pid'] == loan_pid

@iGormilhit iGormilhit merged commit 425e81b into rero:dev Feb 20, 2020
@jma jma deleted the maj-fix-holding-display-location branch January 13, 2022 14:46
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.

4 participants