Koha/svc
Kyle M Hall 9bdab108e2 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>
2024-02-22 14:35:01 +00:00
..
cataloguing
club Bug 35942: OPAC user can enroll several times to the same club [23.05.x] 2024-02-22 14:35:01 +00:00
config Bug 34369: Require CSRF token for updating system preferences 2023-09-26 21:29:27 -10:00
letters
mana
members
records Bug 32631: Error when previewing record during batch record modification 2023-01-27 16:16:43 -03:00
virtualshelves
article_request
authentication
authorised_values
barcode Bug 34732: (QA follow-up): tidy up code 2023-09-20 20:12:28 -10:00
bib Bug 35181: Don't pass undef to header 2023-11-09 21:10:13 -10:00
bib_framework
bib_profile
checkin
checkout_notes
checkouts Bug 33944: Don't fetch item object unless using recalls 2023-07-17 14:42:23 +01:00
convert_report Bug 34533: jsdiff library missing from guided reports page 2023-08-29 20:46:54 -10:00
cover_images
creator_batches
holds Bug 24860: Add hold's item group to holds table on circulation.pl and moremember.pl 2022-11-04 19:39:57 -03:00
import_bib Bug 15869: Change framework on overlay 2023-02-07 10:32:22 -03:00
localization
new_bib
problem_reports
recall
renew Bug 27249: Prevent infinite loop when searching for an open day 2023-10-24 20:27:34 -10:00
report
return_claims
split_callnumbers