Koha/admin
Phil Ringnalda d913d5ab79
Bug 37152: Deleting patron categories doesn't warn about categories in use
You can't delete a patron category when it is in use, but because the
script which handles delete confirmation is expecting the wrong op,
cud-delete_confirm rather than delete_confirm, you don't get any warning,
just a failure to delete error message.

Test plan:
 1. Without the patch, Administration - Patron categories
 2. On the row for Staff, click Delete, Delete this category
 3. Note an error message telling you to check the logs for details
 4. Apply patch, restart_all
 5. With the patch, repeat steps 1-2, note that instead of a button for
    Delete this category you get a warning that it is in use
 6. In the list of categories, row for Board, click Delete, Delete this category
 7. Note that the (unused) Board category was deleted

Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-06-27 11:49:56 +02:00
..
searchengine/elasticsearch Bug 36727: Add new issn-all Elasticsearch index for MARC21 2024-06-25 18:34:15 +02:00
additional-fields.pl
admin-home.pl Bug 36206: (QA follow-up) Tidy admin-home.pl 2024-04-26 14:14:56 +02:00
adveditorshortcuts.pl
aqbudgetperiods.pl Bug 36739: Correct CSRF change to budget deletions 2024-05-17 12:03:53 +02:00
aqbudgets.pl Bug 37089: cud-delete_confirm should not be cud 2024-06-21 15:02:48 +02:00
aqcontract.pl Bug 37152: Can't delete an Acquisitions contract 2024-06-27 11:49:55 +02:00
aqplan.pl
audio_alerts.pl
auth_subfields_structure.pl
auth_tag_structure.pl Bug 37152: Deleting framework tags expects a cud-delete-confirm op instead of delete-confirm 2024-06-27 11:49:55 +02:00
authorised_values.pl Bug 28869: (follow-up) Switch to cud-edit_category for CSRF 2024-05-17 10:36:25 +02:00
authtypes.pl Bug 37080: Cannot delete MARC bibliographic frameworks or authority types 2024-06-21 15:02:47 +02:00
background_jobs.pl
biblio_framework.pl Bug 37080: Cannot delete MARC bibliographic frameworks or authority types 2024-06-21 15:02:47 +02:00
branch_transfer_limits.pl
branches.pl Bug 6796: Take CalenderFirstDayOfWeek and TimeFormat into account 2024-04-12 11:26:08 +02:00
cash_registers.pl Bug 36193: cud- treatment for cash_registers.pl 2024-03-12 17:47:29 +01:00
categories.pl Bug 37152: Deleting patron categories doesn't warn about categories in use 2024-06-27 11:49:56 +02:00
check_budget_parent.pl
check_parent_total.pl
checkmarc.pl
cities.pl
classsources.pl
clone-rules.pl
columns_settings.pl
columns_settings.yml Bug 36476: Add holds priority column to members/summary-print.pl pending holds table 2024-06-21 15:02:57 +02:00
credit_types.pl Bug 36193: cud- treatment for credit_types.pl 2024-03-12 17:47:29 +01:00
curbside_pickup.pl
currency.pl Bug 37089: cud-delete_confirm should not be cud 2024-06-21 15:02:48 +02:00
debit_types.pl Bug 36193: cud- treatment for debit_types.pl 2024-03-12 17:47:30 +01:00
desks.pl Bug 36597: Fix deletion of circulation desks broken by CSRF 2024-04-18 16:51:11 +02:00
didyoumean.pl
edi_accounts.pl Bug 37090: Correct op parameter in edi_accounts.pl 2024-06-21 15:02:47 +02:00
edi_ean_accounts.pl Bug 36995: Correct parameter name for library EAN deletion 2024-06-06 15:18:44 +01:00
identity_providers.pl
ill_batch_statuses.pl Bug 35581: Illbatchstatus* -> ILL::Batch::Status* 2024-04-22 08:57:42 +02:00
import_export_authtype.pl Bug 34478: import_export_authtype - cud-import, export 2024-03-01 11:00:01 +01:00
import_export_framework.pl
item_circulation_alerts.pl
items_search_field.pl
items_search_fields.pl
itemtypes.pl
koha2marclinks.pl
library_groups.pl
localization.pl
marc-overlay-rules.pl
marc_subfields_structure.pl Bug 36395: Remove useless fetch in admin/marc_subfields_structure.pl 2024-04-05 11:51:16 +02:00
marctagstructure.pl Bug 37152: Deleting framework tags expects a cud-delete-confirm op instead of delete-confirm 2024-06-27 11:49:55 +02:00
matching-rules.pl Bug 34478: Manual fix - admin/matching-rules 2024-03-01 10:59:53 +01:00
oai_set_mappings.pl
oai_sets.pl
overdrive.pl
patron-attr-types.pl Bug 32610: Add date option to extended patron attributes administration page 2024-04-30 17:09:48 +02:00
preferences.pl Bug 29948: Fix display of selected values 2024-05-13 14:00:11 +02:00
record_sources.pl Bug 35919: Add record sources admin page 2024-04-26 17:06:04 +02:00
restrictions.pl Bug 36193: cud- treatment for restrictions.pl 2024-03-12 17:47:31 +01:00
search_filters.pl
share_content.pl
smart-rules.pl Bug 36673: Filter used categories and item types to current branch 2024-05-03 16:02:44 +02:00
sms_providers.pl
smtp_servers.pl
sru_modmapping.pl
systempreferences.pl Bug 37091: Correct op parameter in systempreferences.pl 2024-06-21 15:24:44 +02:00
transfer_limits.pl
transport-cost-matrix.pl
usage_statistics.pl
z3950servers.pl