]> git.koha-community.org Git - koha.git/commit
Bug 37089: cud-delete_confirm should not be cud
authorEmily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Fri, 14 Jun 2024 14:03:22 +0000 (10:03 -0400)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 18 Jul 2024 19:22:52 +0000 (19:22 +0000)
commit9bfc29f910d772ab65338c3e3cabbf7a1a9777c4
treed5be47709107465ea9c8ec8c53ca4cdd59275ff3
parent3e84279d3e9b347d1618478ecce60c5b1f6548d9
Bug 37089: cud-delete_confirm should not be cud

Adjust aqbudgets.pl and currency.pl to check for the correct op value

To test:
Part 1 - Delete a fund
1. Go to Acquisitions > Funds
2. Try to delete a fund
   --> Confirmation page shows fund name as '' and fund amount as 0.00
3. Click "Yes, delete this fund"
   --> The fund is still there

Part 2 - Delete a currency
3. Go to Acquisitions > Currencies
4. Try to delete a currency
   --> Confirmation shows empty values for currency and rate
5. Click, "Yes, delete this currency"
   --> An error message appears and the currency is not deleted

6. Apply patch and restart_all
7. Repeat steps 1-5
   --> Confirmation pages display correct information, and deletions
       occur successfully

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 5083d5752c2413cc265c6e9682539e6495c7c906)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
admin/aqbudgets.pl
admin/currency.pl