Bugzilla – Attachment 161719 Details for
Bug 35983
Library specific refund lost item replacement fee cannot be 'refund_unpaid'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35983: Remove extra seleted=selected from dropdown menu
Bug-35983-Remove-extra-seletedselected-from-dropdo.patch (text/plain), 2.06 KB, created by
Lucas Gass (lukeg)
on 2024-02-02 00:06:01 UTC
(
hide
)
Description:
Bug 35983: Remove extra seleted=selected from dropdown menu
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-02-02 00:06:01 UTC
Size:
2.06 KB
patch
obsolete
>From cb36a6dc5b7eb49247ff824457d3996e55619914 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 2 Feb 2024 00:04:33 +0000 >Subject: [PATCH] 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. >--- > 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 d71e25ccaa..3df7e9a881 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 >@@ -1177,7 +1177,7 @@ > [% ELSIF ( refundLostItemFeeRule.rule_value == 'refund_unpaid' ) %] > <option value="refund">Refund lost item charge</option> > <option value="refund_unpaid" selected="selected">Refund lost item charge (only if unpaid)</option> >- <option value="charge" selected="selected">Refund lost item charge and charge new overdue fine</option> >+ <option value="charge">Refund lost item charge and charge new overdue fine</option> > <option value="restore">Refund lost item charge and restore overdue fine</option> > <option value="0">Leave lost item charge</option> > [% ELSIF ( refundLostItemFeeRule.rule_value == 'charge' ) %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35983
:
161719
|
161858
|
162299