[Koha-bugs] [Bug 21835] New: Request ID is displayed as NaN
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 14 16:48:28 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21835
Bug ID: 21835
Summary: Request ID is displayed as NaN
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: ILL
Assignee: koha-bugs at lists.koha-community.org
Reporter: andrew.isherwood at ptfs-europe.com
In the main ILL requests table, the request ID is displayed as NaN.
There are two problems here. Firstly, we're not populating id_prefix in the API
response, it got missing in the deprecation of TO_JSON in bug 20996. As such,
by the time we get to the JS that populates the ILL table, there is no
id_prefix property in the row object, so concatenating undefined with an
integer returns NaN.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list