]> git.koha-community.org Git - koha.git/commit
Bug 38162: Pass the rota_id correctly when deleting
authorLucas Gass <lucas@bywatersolutions.com>
Sat, 12 Oct 2024 14:28:57 +0000 (14:28 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Wed, 16 Oct 2024 12:35:59 +0000 (14:35 +0200)
commitdd4822e400449921ff0c602bd3bd9c57ec95287c
treea497aa5489de6a9683af6b84cbd0c665b9d990b8
parentd60057b429de3a522c5140002746a610150dc540
Bug 38162: Pass the rota_id correctly when deleting

To test:

1. Enable StockRotation
2. Got to Cataloging -> Stock rotation
3. Create a new Rota
4. Try to delete it
5. See the error "Can't call method "delete" on an undefined value at /kohadevbox/koha/tools/stockrotation.pl line 231"
6. APPLY PATCH
7. Try again, the rota should be deleted properly.

Signed-off-by: Laura ONeil <laura@bywatersolutions.com>
Signed-off-by: Alyssa <alyssa.drake@bywatersolutions.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt