]> git.koha-community.org Git - koha.git/commit
Bug 37165: Can't edit frequencies due to stray cud- in modify op
authorPhil Ringnalda <phil@chetcolibrary.org>
Sat, 22 Jun 2024 23:40:19 +0000 (16:40 -0700)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 18 Jul 2024 19:55:40 +0000 (19:55 +0000)
commita1530f20b125dcf80fce4866152186da9798f583
tree5aee89dc670050144d75548671fc74a55aff53f1
parent31478431f5e2a0c66a67b9f1b612e3c04e4950be
Bug 37165: Can't edit frequencies due to stray cud- in modify op

The op modify in subscription-frequencies.pl isn't a cud- operation, it's
a GET of the editing form, so it shouldn't have been changed to cud-modify.

Test plan:
1. Don't apply the patch yet
2. Serials - Manage frequencies - for any frequency click Edit
2. Note that the editing form is empty
3. Apply patch, restart_all
4. Repeat step 2, note that now the editing form has the existing data
5. Change anything, Display order is nice, and save to verify that
   cud-savemod still works

Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 96d1ad65b486f3e1962ec13fd2db09afbead82b6)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
serials/subscription-frequencies.pl