Bug 35983: Remove extra selected=selected from dropdown menu
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 2 Feb 2024 00:04:33 +0000 (00:04 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 19 Mar 2024 21:19:38 +0000 (21:19 +0000)
commitec2c6a1deba681768ec7d7e669c67c514edb28e9
tree950fd52611c9a8437a6d77a84d4ce326d3c641f6
parentf94b6895f17457f01a36efb2155cbe51f65b36e0
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 <david@davidnind.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit af5453bbd28089acfb99d5877eac939b7a87f2ff)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit fdc2bbb76f753384c51cca03e2ff16ba6c18e716)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt