Steps to reproduce: 1. Go to Admin » Authorised Values » [any AV category that has values in it] » Edit one » Save 2. The modified authorised value is gone
Created attachment 105483 [details] [review] Bug 25651: Fix modification of authorised value When modifying an existing authorised value, the category is not correctly passed to the template and so it is not passed to the POST request, which results in the authorised value switching to category '', which effectively make it disappear from the interface. This patch fixes that.
Created attachment 105486 [details] [review] Bug 25651: Fix modification of authorised value When modifying an existing authorised value, the category is not correctly passed to the template and so it is not passed to the POST request, which results in the authorised value switching to category '', which effectively make it disappear from the interface. This patch fixes that. Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Created attachment 105593 [details] [review] Bug 25651: Fix modification of authorised value When modifying an existing authorised value, the category is not correctly passed to the template and so it is not passed to the POST request, which results in the authorised value switching to category '', which effectively make it disappear from the interface. This patch fixes that. Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Pushed to master for 20.11, thanks to everybody involved!
backported to 20.05.x for 20.05.01
category_name not present in the template in 19.11.x, not backported