Koha/svc
Kyle M Hall c735c027fa
Bug 35942: OPAC user can enroll several times to the same club
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: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-07-01 18:55:39 +02:00
..
cataloguing
club Bug 35942: OPAC user can enroll several times to the same club 2024-07-01 18:55:39 +02:00
config Bug 36084: svc - config/systempreferences 2024-03-01 11:00:46 +01:00
letters
mana Bug 36418: Catch more cases where header response should be application/json 2024-04-02 17:59:04 +02:00
members Bug 36084: svc - members/add_to_list 2024-03-01 11:00:55 +01:00
records
virtualshelves
article_request Bug 36418: Set header response content type to application/json - svc 2024-04-02 17:59:04 +02:00
authentication Bug 36700: Update svc to use CSRF-TOKEN 2024-05-01 13:40:19 +01:00
authorised_values
barcode
bib Bug 36891: Restore returning 404 from svc/bib when the bib number doesn't exist 2024-06-27 11:50:00 +02:00
bib_framework
bib_profile
checkin Bug 36418: Explicitly set response to json 2024-04-02 17:59:03 +02:00
checkout_notes Bug 36084: svc - checkout_notes 2024-03-01 11:00:49 +01:00
checkouts Bug 36418: Set header response content type to application/json - svc 2024-04-02 17:59:04 +02:00
convert_report Bug 34478: Add 'op' to reports/guided_reports - WIP 2024-03-01 10:58:53 +01:00
cover_images Bug 36084: svc - cover_images 2024-03-01 11:00:52 +01:00
creator_batches Bug 36084: svc - creator_batches 2024-03-01 11:00:53 +01:00
holds Bug 36418: Set header response content type to application/json - svc 2024-04-02 17:59:04 +02:00
import_bib Bug 33418: Add overlay_framework option to connexion scripts 2024-05-10 16:45:50 +02:00
localization
new_bib
problem_reports Bug 36084: svc - problem_reports 2024-03-01 11:00:56 +01:00
recall Bug 36418: Catch more cases where header response should be application/json 2024-04-02 17:59:04 +02:00
renew Bug 36418: Explicitly set response to json 2024-04-02 17:59:03 +02:00
report
return_claims Bug 36418: Set header response content type to application/json - svc 2024-04-02 17:59:04 +02:00
split_callnumbers