Koha/opac/svc
Kyle M Hall f09b359cb7 Bug 35942: OPAC user can enroll several times to the same club [23.05.x]
Test Plan:

1) Create 3 clubs, 1 limited to library A, 1 limited to library B and one not limited
2) Use a patron with home library A.
3) Go to the opac-user page, "Clubs" tab show 0/2 (the one from library B is not listed)
4) Browse to /cgi-bin/koha/svc/club/enroll?id=1
5) Reload that page a couple times
6) Note the patron is now enrolled in the same club multiple times
7) Delete those enrollments
8) Apply this patch
9) Restart all the things!
10) Repeat steps 2-7, note the lack of duplicate enrollments!
11) Repeat steps 2-10 for the staff interface

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 9bdab108e2)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
2024-03-04 17:34:39 +01:00
..
auth Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
club Bug 35942: OPAC user can enroll several times to the same club [23.05.x] 2024-03-04 17:34:39 +01:00
checkout_notes Bug 29544: Ensure logged in user is allowed to modify checkout note 2022-02-02 21:05:29 -10:00
overdrive Bug 29686: Adapt Koha to use new fulfillment API for OverDrive 2022-01-28 11:09:06 -10:00
overdrive_proxy Bug 29320: Update OverDrive availability to V2 2022-01-28 21:52:54 -10:00
report Bug 26669: (QA follow-up) Update last run when report run by name 2022-04-04 16:23:46 +02:00
shelfbrowser.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
suggestion Bug 30426: Add missing C4::Auth and C4::Output imports 2022-04-13 15:55:38 +02:00