{"push_id":952282896,"size":2,"distinct_size":2,"ref":"refs/heads/3.22.x","head":"4739952294165f764ee7074f5a71235e328697a3","before":"67b3f0196ea4129488193f27fd3e28591ff5f33d","commits":[{"sha":"cd7d29440f8b1f88b88cba0d9934e3907847793b","author":{"email":"3c25b01657254677d3e1a8fd1f0742c5d489bd39@bywatersolutions.com","name":"Kyle M Hall"},"message":"Bug 15530 - Add Unit Test\n\nSigned-off-by: Margaret Holt <mholt@bastyr.edu>\n\nSigned-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>\n\nSigned-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>\n(cherry picked from commit 31ffdbf49af617db29c8b6bfcaf01566d84f2a33)\nSigned-off-by: Julian Maurice <julian.maurice@biblibre.com>","distinct":true,"url":"https://api.github.com/repos/Koha-Community/Koha/commits/cd7d29440f8b1f88b88cba0d9934e3907847793b"},{"sha":"4739952294165f764ee7074f5a71235e328697a3","author":{"email":"3c25b01657254677d3e1a8fd1f0742c5d489bd39@bywatersolutions.com","name":"Kyle M Hall"},"message":"Bug 15530 - Editing a course item via a disabled course disables it even if it is on other enabled courses\n\nIt appears that if the course item is edited by clicking the edit link\nfrom an active course, the course item will be set to enabled and the\nfields will be swapped, if the same course item is edited from a course\nthat is *not* active, the course item will be set to *not* enabled, and\nthe original fields will be swapped back in!\n\nThe short term work-around is to only edit course items from an enabled\ncourse if the item has a course that is enabled. If all the courses it\nis on are disabled, it doesn't matter what course the item is edited\nfrom.\n\nTest Plan:\n1) Create two courses, 1 enabled and 1 disabled\n2) Add an item as a course reserve to both courses\n3) Edit the course reserve data for the item via the enabled course\n4) Note the course item is enabled ( easy way is to check the database )\n5) Edit the same course reserve data, but via the disabled course\n6) Note the course item is now disabled even though it is part of\n   an enabled course!\n7) Apply this patch\n8) Repeat steps 1 through 5\n9) Note the course item is still enabled\n\nSigned-off-by: Margaret Holt <mholt@bastyr.edu>\n\nSigned-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>\n\nSigned-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>\n(cherry picked from commit d10adb26aa661a6b5f6dc9b2fd6f8ab966f98918)\nSigned-off-by: Julian Maurice <julian.maurice@biblibre.com>","distinct":true,"url":"https://api.github.com/repos/Koha-Community/Koha/commits/4739952294165f764ee7074f5a71235e328697a3"}]}