8000 fix(circ): error when no item note by PascalRepond · Pull Request #1189 · rero/rero-ils-ui · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(circ): error when no item note #1189

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

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

PascalRepond
Copy link
Contributor
  • When performing a circulation action on an item that had no circulation note, getCirculationNoteForAction() returned [null] and this created an error when displaying the note. Now, getCirculationNoteForAction() only returns a note if it exists, else it return an empty array.

* When performing a circulation action on an item that had
no circulation note, `getCirculationNoteForAction()` returned [null] and
this created an error when displaying the note. Now,
`getCirculationNoteForAction()` only returns a note if it exists, else
it return an empty array.
* Also fixes some in transit alerts on checkin that was not correctly
translated and was missing destination info.

Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
@PascalRepond PascalRepond merged commit 7109263 into rero:staging Jul 24, 2024
3 checks passed
@PascalRepond PascalRepond deleted the rep-circ-notes branch July 24, 2024 06:58
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 f: user management translations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0