https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37021 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167370|0 |1 is obsolete| | --- Comment #2 from Jan Kissig <bibliothek@th-wildau.de> --- Created attachment 167430 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167430&action=edit Bug 37021: Change item_id type as integer in holds endpoint When one makes a GET call to holds endpoint and hold has item attached to it, item_id is handled as string not integer as it should. To reproduce: 1. Make sure you have hold waiting in your database. 2. Call endpoint api/v1/holds/?q=[{"me.status":"W"}]. => Note that holds item_id is displayed as item_id: "12345". 3. Apply this patch. 4. Call endpoint again. => item_id should now be displayed as 12345. Also prove t/db_dependent/api/v1/holds.t. Signed-off-by: Jan Kissig <jkissig@th-wildau.de> -- You are receiving this mail because: You are watching all bug changes.