[Koha-bugs] [Bug 19618] Add 'Club Holds' feature
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 12 17:59:11 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19618
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #92677|0 |1
is obsolete| |
--- Comment #12 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 92749
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92749&action=edit
Bug 19618: Add api endpoint for club holds
This patch adds an endpoint in thi api in /api/v1/clubs/{club_id}/holds whith
the verb POST that maps to Koha::REST::V1::Clubs::Holds#add controller.
Classes for club_holds and club_holds_to_patron_holds new tables where also
added.
To test:
1) Reach SUCCESS.3 test point of previous patch with club that has no
enrollments
2) Click on "Place Hold"
SUCCESS => an alert should appear that you cannot place hold on a club without
patrons
3) Reach SUCCESS.3 test point of previous patch with club that has enrollments
4) Click on "Place Hold"
SUCCESS => holds priority list should appear with holds for every patron in
club
5) Repeat steps 3 and 4.
SUCCESS => new holds should appear in different order
6) Sign off
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list