[Koha-bugs] [Bug 33504] ILS-DI does not record renewer_id for renewals

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 12 12:51:55 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33504

--- Comment #3 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 149524
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149524&action=edit
Bug 33504: Update patron_to_html to deal with null

In the patron_to_html function we were dealing explicitly with the case
where patron may be passed undefined, but forgetting that it may be
returned as 'null' from the api too.  Changing from `( patron ===
undefined )` to `( patron == null )` is the recommended approach for
detecting 'undefined or null' in javascript.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list