Koha/admin
Nick Clemens d8a759162c Bug 22679: Delete related CirculationRules when Removing IssuingRule
Unfortunately, the tables here can't use a foreign key as one table uses null where the other uses
'*' This patchset alters the delete method so delete related rules. It is somewhat of a workaround until
all the columns in issuingrules are moved to circulation_rules

To test:
1 - Add some issuing rules in koha, making sure to set maxissueqty
2 - Check the DB: SELECT * FROM circulation_rules;
3 - note some circulation rules were created
4 - Delete your rules via the staff interface
5 - Check the DB, the circulation rules remain
6 - Apply patch
7 - Repeat
8 - Huzzah! The rules delete!
9 - Prove the tests, read the code

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-04-24 10:35:38 +00:00
..
searchengine/elasticsearch Bug 18213: Add language facets to Elasticsearch 2019-03-28 15:57:32 +00:00
add_user_search.pl
additional-fields.pl Bug 15774: (QA follow-up) Fix use statemenets 2019-03-07 20:37:06 +00:00
admin-home.pl Bug 17047: add a dedicated page for Mana setup 2019-01-23 14:39:26 +00:00
aqbudgetperiods.pl Bug 10577: (QA follow-up) Remove bad call signature 2019-03-28 12:46:14 +00:00
aqbudgets.pl Bug 21137: Replace USER_INFO with logged_in_user 2018-08-14 12:43:10 +00:00
aqcontract.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
aqplan.pl Bug 21137: Replace USER_INFO with logged_in_user 2018-08-14 12:43:10 +00:00
audio_alerts.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
auth_subfields_structure.pl Bug 21706: (follow-up) Fix subfield delete button 2018-11-12 16:39:50 -03:00
auth_tag_structure.pl Bug 21706: (follow-up) remove unused template params 2018-11-12 16:39:04 -03:00
authorised_values.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
authtypes.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
biblio_framework.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
branch_transfer_limits.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
branches.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
categories.pl Bug 10796: Handle can_change_password on the staff interface 2019-04-12 02:32:07 +00:00
check_budget_parent.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
check_parent_total.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
checkmarc.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
cities.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
classsources.pl Bug 15836: Mark C4::ClassSource subs DEPRECATED 2018-11-13 15:18:22 +00:00
clone-rules.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
columns_settings.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
columns_settings.yml Bug 22175: Make stock rotation table sortable 2019-04-18 10:53:05 +00:00
currency.pl Bug 7651: Add a new permission for managing currencies and exchange rates 2018-07-18 17:45:21 +00:00
didyoumean.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
edi_accounts.pl Bug 21605: (follow-up) Simple ternary boolean to number conversion 2019-01-08 13:58:10 +00:00
edi_ean_accounts.pl Bug 21417: EDI ordering fails when basket and EAN libraries do not match 2018-10-09 11:54:08 +00:00
fieldmapping.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
import_export_framework.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
item_circulation_alerts.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
items_search_field.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
items_search_fields.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
itemtypes.pl Bug 22575: Item type administration uses invalid error class for dialog 2019-03-23 09:03:41 +00:00
koha2marclinks.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
library_groups.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
localization.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
marc_subfields_structure.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
marctagstructure.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
matching-rules.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
oai_set_mappings.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
oai_sets.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
overdrive.pl Bug 21082: Update OverDrive authentication method 2018-10-09 11:04:23 +00:00
patron-attr-types.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
preferences.pl Bug 21582: Use CodeMirror for *UserJS & *UserCSS 2019-04-12 02:28:17 +00:00
printers.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
share_content.pl Bug 22198: Add granular permission setting for Mana KB 2019-02-04 14:54:03 +00:00
smart-rules.pl Bug 22679: Delete related CirculationRules when Removing IssuingRule 2019-04-24 10:35:38 +00:00
sms_providers.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
sru_modmapping.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
systempreferences.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
transport-cost-matrix.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
usage_statistics.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
z3950servers.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00