[Koha-bugs] [Bug 16826] REST API: Add API routes for getting item availability and holdability

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 11 09:58:12 CEST 2016


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

Lari Taskula <lari.taskula at jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56128|0                           |1
        is obsolete|                            |

--- Comment #22 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 56129
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56129&action=edit
Bug 16826: Add API route for getting item availability

Fixing typo in test plan. This plan applies:

To test:
1. Apply patch and run minifySwagger.pl
   perl misc/devel/minifySwagger.pl -s api/v1/swagger/swagger.json -d
api/v1/swagger
2. Play around with an item. Place a hold on it, checkout, set it damaged etc.
3. Make GET requests to /api/v1/availability/items?itemnumber=YYY, where
   YYY is an existing itemnumber. You can also try with biblionumber=XXX
   query parameter, where XXX is an existing biblionumber.
4. Check that the availability statuses are correct and that availability
   description lists the appropriate status for unavailability.
5. Repeat steps 2-4 until you are confident the route works as expected.
6. Run the following tests:
   - t/Koha/Item/Availability.t
   - t/db_dependent/Items.t
   - t/db_dependent/api/v1/availability.t

Signed-off-by: Jiri Kozlovsky <mail at jkozlovsky.cz>

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


More information about the Koha-bugs mailing list