To recreate: 1. Admin > Circ & fine rules 2. Select a library at the top of the forms ( #selectlibrary ) 3. Try to change the 'Refund lost item replacement fee' to "Refund lost item charge (only if unpaid)". 4. Press save and let the page reload. 5. Look at the dropdown again, the value is now set to "Refund lost item charge and restore overdue fine".
Created attachment 161719 [details] [review] Bug 35983: Remove extra seleted=selected from dropdown menu To test: 1. Admin > Circ & fine rules 2. Select a library at the top of the forms ( #selectlibrary ) 3. Try to change the 'Refund lost item replacement fee' to "Refund lost item charge (only if unpaid)". 4. Press save and let the page reload. 5. Look at the dropdown again, the value is now set to "Refund lost item charge and restore overdue fine". 6. APPLY PATCH 7. Try steps 2 - 5 again but this time the value in the dropdown should not change.
Created attachment 161858 [details] [review] Bug 35983: Remove extra seleted=selected from dropdown menu To test: 1. Admin > Circ & fine rules 2. Select a library at the top of the forms ( #selectlibrary ) 3. Try to change the 'Refund lost item replacement fee' to "Refund lost item charge (only if unpaid)". 4. Press save and let the page reload. 5. Look at the dropdown again, the value is now set to "Refund lost item charge and restore overdue fine". 6. APPLY PATCH 7. Try steps 2 - 5 again but this time the value in the dropdown should not change. Signed-off-by: David Nind <david@davidnind.com>
Created attachment 162299 [details] [review] Bug 35983: Remove extra seleted=selected from dropdown menu To test: 1. Admin > Circ & fine rules 2. Select a library at the top of the forms ( #selectlibrary ) 3. Try to change the 'Refund lost item replacement fee' to "Refund lost item charge (only if unpaid)". 4. Press save and let the page reload. 5. Look at the dropdown again, the value is now set to "Refund lost item charge and restore overdue fine". 6. APPLY PATCH 7. Try steps 2 - 5 again but this time the value in the dropdown should not change. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Good catch - thanks for the fix! Passing QA
Pushed for 24.05! Well done everyone, thank you!
Pushed to 23.11.x for 23.11.04
Backported to 23.05.x for upcoming 23.05.10