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: fix patron info in loan view #345

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

AoNoOokami
Copy link
Contributor

@AoNoOokami AoNoOokami commented Aug 24, 2020

  • Fixes patron info in loan view: it couldn't be removed in order to go
    to checkin view (displayPatronMode is setted to false in checkin view
    and not updated when going to loan view).
  • Fixes the display of a flash error message saying 'patron is
    undefined' when going to loan view after a checkin in checkin view.

Co-Authored-by: Alicia Zangger alicia.zangger@rero.ch

circ

checkin

Why are you opening this PR?

Task 1693 of US1665

Dependencies

N/A

How to test?

Do a checkin or a receive in checkin view (User services > Circulation).
Then type a patron barcode to go to patron loan view. A red button should be displayed in order to remove patron info and go back to checkin view.
No error flash message saying patron is undefined should be displayed.

Code review check list

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

@iGormilhit iGormilhit added f: circulation Concerns the circulation interface or backend f: professional ui Professional interface labels Aug 25, 2020
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.

I do not understand the commit message body, but it could be because the circulation module interface logic is too damned impossible to understand. I can't be sure.

@AoNoOokami AoNoOokami added this to the v0.12.0 (rero-ils) milestone Aug 25, 2020
@AoNoOokami AoNoOokami requested review from benerken and removed request for sebdeleze August 25, 2020 07:39
@AoNoOokami AoNoOokami requested review from zannkukai and sebdeleze and removed request for benerken August 25, 2020 09:39
* Fixes patron info in loan view: it couldn't be removed in order to go
to checkin view (displayPatronMode is setted to false in checkin view
and not updated when going to loan view).
* Fixes the display of a flash error message saying 'patron is
undefined' when going to loan view after a checkin in checkin view.

Co-Authored-by: Alicia Zangger <alicia.zangger@rero.ch>
@AoNoOokami AoNoOokami merged commit c9d13d9 into rero:dev Aug 25, 2020
@AoNoOokami AoNoOokami deleted the zaa-#1693-fix-patron-info branch September 15, 2020 11:46
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 f: professional ui Professional interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants