Koha-clms/api/v1/swagger/paths
Marcel de Rooy 21c87aeb15
Bug 36018: biblio->active_orders should be ->uncancelled_orders
Active orders are more than just not cancelled. See filter_by_active
in Koha::Acquisition::Orders. They are still in the acq process; we
still need to receive items on those orders.

When we cancel and want to delete a biblio, we should check for not
cancelled orders (broader than active orders as in Orders.pm).

Test plan:
Git grep active_orders.
Run t/db_dependent/Koha/Biblio.t
Run t/db_dependent/Koha/Acquisition/Order.t
Add two order lines in a basket referring to same biblio. Try to
cancel with delete biblio. Should not be possible.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Janusz Kaczmarek <januszop@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-05-10 16:45:46 +02:00
..
acquisitions_baskets.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
acquisitions_edifiles.yaml Bug 36565: EDI files API docs fixes (bug 30070 follow-up) 2024-04-29 09:35:36 +02:00
acquisitions_funds.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
acquisitions_orders.yaml Bug 36018: biblio->active_orders should be ->uncancelled_orders 2024-05-10 16:45:46 +02:00
acquisitions_vendor_issues.yaml Bug 35634: (bug 33105 follow-up) fix typo issues_manage vs issue_manage 2024-01-11 15:44:46 +01:00
acquisitions_vendors.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
advancededitormacros.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
article_requests.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
auth.yaml Bug 34313: Add patron information in pass validation response 2023-08-29 14:59:02 -03:00
authorised_value_categories.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
authorised_values.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
authorities.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
biblios.yaml Bug 36120: Add pickup_library support to bookings API 2024-05-03 16:02:46 +02:00
biblios_item_groups.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
biblios_merge.yaml Bug 36565: Biblio merge API docs fixes (bug 33036 follow-up) 2024-04-29 09:35:35 +02:00
bookings.yaml Bug 36120: Add pickup_library support to bookings API 2024-05-03 16:02:46 +02:00
cash_registers.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
checkouts.yaml Bug 35469: Add 'manage_bookings' subpermission to /checkouts 2024-03-07 17:35:39 +01:00
circulation-rules.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
cities.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
clubs.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
config_smtp_servers.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
deleted_biblios.yaml Bug 33960: Add routes and controller 2024-04-22 08:57:50 +02:00
erm_agreements.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_config.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_counter_files.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_counter_logs.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_counter_registries.yaml Bug 34587: Move everything into a ERM/EUsage subfolder 2023-10-31 16:46:18 -03:00
erm_custom_reports.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_default_usage_reports.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_documents.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_eholdings_packages.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_eholdings_packages_resources.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_eholdings_resources.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_eholdings_titles.yaml Bug 34788: Allow import of file with additional columns 2024-05-10 15:19:09 +02:00
erm_eholdings_titles_resources.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_licenses.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
erm_sushi_services.yaml Bug 34587: Fix stray type definition 2023-11-01 15:00:17 -03:00
erm_usage_data_providers.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_usage_databases.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_usage_items.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_usage_platforms.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_usage_titles.yaml Bug 35219: Fix ERM usage endpoints to show in docs 2023-11-06 08:42:40 -03:00
erm_users.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
holds.yaml Bug 35353: Add REST API endpoint to retrieve old holds 2024-04-26 18:06:09 +02:00
ill_backends.yaml Bug 35581: Koha::Illbackend -> Koha::ILL::Backend 2024-04-22 08:57:40 +02:00
ill_batches.yaml Bug 35581: Koha::*Illbatch* -> Koha::*ILL::*Batch* 2024-04-22 08:57:41 +02:00
ill_batchstatuses.yaml Bug 35581: Illbatchstatus* -> ILL::Batch::Status* 2024-04-22 08:57:42 +02:00
ill_requests.yaml Bug 36565: ILL requests API docs fixes (bug 22440 follow-up) 2024-04-29 09:35:35 +02:00
import_batch_profiles.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
import_batches.yaml Bug 30855: Rename /import => /import_batches 2022-06-02 13:42:28 -03:00
item_types.yaml Bug 34008: Add REST endpoint for list of itemtypes 2023-11-01 17:23:14 -03:00
items.yaml Bug 29002: (follow-up) Rebase fix, remove q_header 2023-11-03 12:04:15 -03:00
jobs.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
libraries.yaml Bug 36482: Allow embedding desks and cash_registers on libraries endpoints 2024-04-26 18:06:11 +02:00
oauth.yaml Bug 32354: Accept session_state param given by OAuth IdP 2022-12-07 12:58:32 -03:00
patron_categories.yaml Bug 26297: (QA follow-up) Spec fixes 2024-04-29 18:53:12 +02:00
patrons.yaml Bug 36505: (follow-up) Consistent error codes in POST 2024-04-26 18:06:16 +02:00
patrons_account.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
patrons_checkouts.yaml Bug 22613: Add GET endpoint /patrons/{patron_id}/checkouts 2024-04-26 20:15:49 +02:00
patrons_extended_attributes.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
patrons_holds.yaml Bug 35353: Add REST API endpoint to retrieve old holds 2024-04-26 18:06:09 +02:00
patrons_password.yaml Bug 29926: (QA follow-up) Date format missing in spec 2022-05-06 10:33:10 -10:00
patrons_recalls.yaml Bug 35967: Add REST API endpoint to list patron recalls 2024-04-19 19:54:43 +02:00
preservation_config.yaml Bug 36565: Preservation module API docs fixes (bug 30708 follow-up) 2024-04-29 09:35:36 +02:00
preservation_processings.yaml Bug 36565: Preservation module API docs fixes (bug 30708 follow-up) 2024-04-29 09:35:36 +02:00
preservation_trains.yaml Bug 36565: Preservation module API docs fixes (bug 30708 follow-up) 2024-04-29 09:35:36 +02:00
preservation_waiting_list.yaml Bug 36565: Preservation module API docs fixes (bug 30708 follow-up) 2024-04-29 09:35:36 +02:00
public_oauth.yaml Bug 32354: Accept session_state param given by OAuth IdP 2022-12-07 12:58:32 -03:00
public_patrons.yaml Bug 35368: Add public to "Add a new checkout" in API documentation 2024-01-30 17:48:40 +01:00
quotes.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
record_sources.yaml Bug 35919: Add /record_sources endpoints 2024-04-26 17:06:03 +02:00
return_claims.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
rotas.yaml Bug 30194: (follow-up) Simply OpenAPI Specification 2022-03-29 16:44:31 +02:00
search_filters.yaml Bug 34387: Improve API docs naming consistency 2023-08-15 11:25:35 +03:00
suggestions.yaml Bug 33971: Remove x-koha-query header support 2023-07-03 10:35:06 -03:00
tickets.yaml Bug 35657: Add support for assignee_id to ticket_updates endpoint 2024-05-02 15:03:35 +02:00
transfer_limits.yaml Bug 36329: Miscelaneous spec fixes 2024-03-19 10:25:01 +01:00