From ec2c6a1deba681768ec7d7e669c67c514edb28e9 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 2 Feb 2024 00:04:33 +0000 Subject: [PATCH] Bug 35983: Remove extra selected=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 Signed-off-by: Emily Lamancusa Signed-off-by: Katrin Fischer (cherry picked from commit af5453bbd28089acfb99d5877eac939b7a87f2ff) Signed-off-by: Fridolin Somers (cherry picked from commit fdc2bbb76f753384c51cca03e2ff16ba6c18e716) Signed-off-by: Lucas Gass --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index bb030743cb..afcd972af3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -1148,7 +1148,7 @@ [% ELSIF ( refundLostItemFeeRule.rule_value == 'refund_unpaid' ) %] - + [% ELSIF ( refundLostItemFeeRule.rule_value == 'charge' ) %] -- 2.39.5