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

            Bug ID: 37021
           Summary: REST API: Holds endpoint handles item_id as string in
                    GET call
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: REST API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
1. Call endpoint api/v1/holds/?q=[{"me.status":"W"}].
2. Note that holds item_id is displayed as item_id: "12345".

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to