]> git.koha-community.org Git - koha.git/commit
Bug 27550: "Duplicate budget" does not keep users associated with that budget
authorJeremy Breuillard <jeremy.breuillard@biblibre.com>
Wed, 24 Nov 2021 09:45:46 +0000 (10:45 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 31 Oct 2022 22:52:04 +0000 (22:52 +0000)
commit2d5529915b55acf0563e85e5ba68a6bbff79d5f7
treec001f8ad6fdf18ecdb8024b96d31ad890530d437
parent03a127afbd61ccf46eba01318bc710c9a55f9d17
Bug 27550: "Duplicate budget" does not keep users associated with that budget

When a budget is duplicated, Owner is copied but not Users

Test plan :
Home > Administration > Budgets
1)Create a budget to allow (active or inactive)
2)Give it some funds by filling up the form, especially Owner and
User(s)
3)Submit then go back to the Budgets dashboard
4)Duplicate the Budget and click on its name
5)Edit it and notice that User(s) is empty
6)Apply the patch
7)Repeat from 1) to 5)

Signed-off-by: Samu Heiskanen <samu.heiskanen@hypernova.fi>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit ed97960cd7f8105eb5f913770089218cf7dd559d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Budgets.pm