LP#1851524: fix adding a bucket when saving a new carousel
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 6 Nov 2019 16:35:58 +0000 (11:35 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 6 Nov 2019 17:10:39 +0000 (12:10 -0500)
commite0d52892b1aa320c7b4ff2c276b334dce59cc86c
tree2a8f05837d96f2b3bfd6a3f0c847c73ca5c0a5d9
parent7f92a4d509d9a04e0fa2928122bd1106014d4421
LP#1851524: fix adding a bucket when saving a new carousel

This patch fixes a regression where saving a new carousel
would not result in its bucket being created due to the
post-save callback never getting invoked.

This patch does not fix any carousels that do not have
buckets due to this bug. Because such carousels will
not function anyway, they should be deleted and
recreated by the local admin.

To test
-------
[1] Create a new carousel in local adminstration. Open it
    in the edit modal again and note that no record bucket
    is linked to it.
[2] Apply the patch and repeat step 1. This time, the
    bucket should be created.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/admin/local/admin-carousel.component.html