Koha/admin
Emmi Takkinen 4bc18581f8 Bug 30694: Set decreaseloanholds undef when deleting circulation rule
When one tries to delete rule with field "Decreased loan period
for high holds" filled, delete fails without errors. This happens
because rule isn't set in code section handling the delete in
smart-rules.pl.

To test:
1. Create a new circulation rule and fill all fields.
2. Try to delete the rule.
=> Rule isn't deleted, all fields except "Decreased loan period
for high holds" are now empty or have value "Unlimited".
3. Modify the rule and set field "Decreased loan period for high
holds" empty.
4. Delete the rule.
=> Rule is deleted successfully.
5. Create a new rule, fill all fields expect field "Decreased loan
period for high holds".
6. Delete the rule.
=> Rule is deleted successfully.
7. Apply this patch.
8. Again create a new rule with field "Decreased loan period for high holds" filled.
9. Try to delete the rule.
=> Rule is deleted successfully.

Sponsored-by: Koha-Suomi Oy

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 91fc31c32b)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
(cherry picked from commit 63fd9be98b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2023-01-19 23:46:48 +00:00
..
searchengine/elasticsearch Bug 15048: Index all possible searched subfields for index-term-genre 2022-12-05 22:42:23 +00:00
additional-fields.pl
admin-home.pl Bug 31401: Update administration sidebar to match entries on administration start page 2022-10-31 20:14:06 +00:00
adveditorshortcuts.pl
aqbudgetperiods.pl Bug 29429: (bug 17600 follow-up) Fix import in aqbudgetperiods.pl 2021-11-08 12:11:44 +01:00
aqbudgets.pl
aqcontract.pl
aqplan.pl Bug 28327: Unify CSV delimiter special behavior for tabulation 2022-10-14 19:29:41 +00:00
audio_alerts.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
auth_subfields_structure.pl Bug 30489: Convert MARC and authority subfield edit tabs to Bootstrap 2022-05-02 11:22:57 -10:00
auth_tag_structure.pl
authorised_values.pl Bug 31976: Incorrect default category selected by authorized values page 2022-12-05 23:37:08 +00:00
authtypes.pl
background_jobs.pl Bug 30982: [22.05.x] Use the REST API for background job list view 2022-11-01 21:40:18 +00:00
biblio_framework.pl Bug 31196: Remove 'default_value_for_mod_marc-' clear_from_cache calls 2022-12-05 23:19:21 +00:00
branch_transfer_limits.pl
branches.pl Bug 31785: (follow-up) Fix modify operation too 2022-12-05 20:13:37 +00:00
cash_registers.pl
categories.pl Bug 29924: Add password expiration feature 2022-05-06 10:33:09 -10:00
check_budget_parent.pl
check_parent_total.pl
checkmarc.pl
cities.pl
classsources.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
clone-rules.pl
columns_settings.pl Bug 30494: Replace the use of jQueryUI Accordion on the table settings page 2022-05-02 11:22:57 -10:00
columns_settings.yml Bug 30798: Change column order on account-fines table column settings 2022-07-13 19:30:28 +00:00
credit_types.pl
currency.pl
debit_types.pl
desks.pl
didyoumean.pl
edi_accounts.pl Bug 30130: Use new standard field in account definition 2022-04-13 15:55:39 +02:00
edi_ean_accounts.pl
import_export_authtype.pl Bug 13952: (follow-up) JS translatability, clean warns, other 2022-04-04 16:23:46 +02:00
import_export_framework.pl Bug 13952: (follow-up) Fixing export on default biblio framework 2022-04-04 16:23:45 +02:00
item_circulation_alerts.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
items_search_field.pl
items_search_fields.pl
itemtypes.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
koha2marclinks.pl Bug 31196: Remove 'default_value_for_mod_marc-' clear_from_cache calls 2022-12-05 23:19:21 +00:00
library_groups.pl
localization.pl
marc-overlay-rules.pl Bug 14957: Fix perlcritic error on admin/marc-overlay-rules.pl 2021-10-27 09:16:42 +02:00
marc_subfields_structure.pl Bug 31196: Remove 'default_value_for_mod_marc-' clear_from_cache calls 2022-12-05 23:19:21 +00:00
marctagstructure.pl Bug 31196: Remove 'default_value_for_mod_marc-' clear_from_cache calls 2022-12-05 23:19:21 +00:00
matching-rules.pl
oai_set_mappings.pl
oai_sets.pl
overdrive.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
patron-attr-types.pl
preferences.pl Bug 29695: Make "modalselect" syspref's values translatable 2022-04-12 11:40:16 +02:00
share_content.pl
smart-rules.pl Bug 30694: Set decreaseloanholds undef when deleting circulation rule 2023-01-19 23:46:48 +00:00
sms_providers.pl Bug 29859: Use iterator instead of as_list 2022-02-09 15:36:23 -10:00
smtp_servers.pl
sru_modmapping.pl
systempreferences.pl
transfer_limits.pl
transport-cost-matrix.pl Bug 29844: Fix ->search occurrences 2022-02-09 15:36:23 -10:00
usage_statistics.pl
z3950servers.pl