Bug 30471: Correct display of default rules
authorNick Clemens <nick@bywatersolutions.com>
Wed, 6 Apr 2022 13:49:58 +0000 (13:49 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 21 Jul 2022 18:58:24 +0000 (15:58 -0300)
commit417d8df61b4d00b6b904dd374835e99cfb9be4a2
tree0e18a0f1c62fafb55e341127bad264479efe36f2
parent0df59817bf52e26b44348848ea8d299d814482c2
Bug 30471: Correct display of default rules

To test:
1 - Browse to 'Administration->Circulation and fines rules'
2 - Make sure you are editing 'Standard rules for all libraries'
3 - Set 'Lost item fee refund on return policy' to 'Refund lost item charge and charge new overdue fine'
4 - Swtich to edit rules for a specific library, click on the dropdown for 'Lost item fee refund on return policy' and note default says 'Use default (Refund lost item charge and restore overdue fine)'
5 - Switch default/all libraries rule to 'Refund lost item charge and restore overdue fine'
6 - On specific branch note the default option is now 'Use default (Refund lost item charge and charge new overdue fine)'
7 - Apply patch and repeat, note the default descriptions now display correctly

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt