Koha-clms/t/db_dependent/api/v1
Martin Renvoize 6ea5bf73ee
Bug 36641: (follow-up) Update to allow returning non-effective rules
This patch updates the existing /circulation_rules endpoint introduced
in this patchset to allow return of all rule sets rather than only the
effective set.

We continue to default to the effective set for the parameters passed
which will mean by default you will get an arrayref containing one
hashref entry with each rule kind as a key in that hashref.

However, if you add 'effective=false' as a query parameter, you will now
have an arrayref of all rule sets that match your passed criteria
including rules that may have fallen back to defaults in the effective
case.

WIP: Need to add support for * in branch, itemtype, patron category
query parameters to allow explicit return of default rules vs no filter
passed. (i.e. for the effective=false case where all rules for should be
returned when no filters are passed vs * passed to filter to just default
rules vs specifics passed for branch/item/patron filtering.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-07-18 18:25:46 +02:00
..
items Bug 29560: Unit tests: API 2024-07-15 11:04:06 +02:00
acquisitions_baskets.t
…
acquisitions_funds.t
…
acquisitions_orders.t Bug 36018: Prevent random failure from api/v1/acquisitions_orders.t 2024-05-14 15:34:26 +02:00
acquisitions_vendor_issues.t
…
acquisitions_vendors.t
…
advanced_editor_macros.t
…
article_requests.t Bug 36495: Use render_resource_not_found() helper everywhere 2024-04-26 18:06:13 +02:00
auth.t Bug 34999: Add unit test 2024-01-16 12:05:59 +01:00
auth_authenticate_api_request.t Bug 32551: Regression tests 2024-01-11 15:44:44 +01:00
auth_basic.t Bug 36420: Unit tests 2024-04-18 16:51:14 +02:00
authorised_values.t Bug 37289: Add sorting to test 2024-07-11 13:40:49 +02:00
authorities.t Bug 30047: (follow-up) Fix failing tests 2024-05-13 16:24:18 +02:00
biblios.t Bug 36120: (QA follow-up) Fix /biblios.t unit test 2024-05-03 16:02:53 +02:00
bookings.t Bug 36936: Squash warning in bookings test 2024-06-28 13:49:22 +02:00
cashups.t Bug 36493: Make cashups test more robust 2024-04-12 11:26:01 +02:00
checkouts.t Bug 35469: Add 'manage_bookings' subpermission to /checkouts 2024-03-07 17:35:39 +01:00
circulation_rules.t Bug 36641: (follow-up) Update to allow returning non-effective rules 2024-07-18 18:25:46 +02:00
cities.t
…
clubs_holds.t Bug 36495: Use render_resource_not_found() helper everywhere 2024-04-26 18:06:13 +02:00
deleted_biblios.t Bug 33960: Unit tests 2024-04-22 08:57:51 +02:00
edifact_files.t Bug 30070: (follow-up) Filter out deleted files on the API 2024-01-17 11:38:57 +01:00
erm_agreements.t
…
erm_counter_files.t Bug 36495: Fix erm_counter_files.t 2024-04-26 17:20:31 -03:00
erm_counter_registries.t Bug 35757: (QA follow-up) Tidy 2024-01-11 12:10:45 +01:00
erm_custom_reports.t Bug 36093: (QA follow-up) Fix unit tests 2024-04-19 18:06:39 +02:00
erm_documents.t
…
erm_eholdings_packages.t
…
erm_eholdings_resources.t
…
erm_eholdings_titles.t Bug 36618: Add unit tests 2024-05-08 20:04:08 +02:00
erm_licenses.t
…
erm_sushi_services.t Bug 37043: Update the base URL for the Counter Registry API 2024-06-06 12:10:36 +01:00
erm_usage_data_providers.t
…
erm_usage_titles.t
…
erm_users.t
…
extended_attribute_types.t Bug 37262: Tests for filtering unmapped tablename 2024-07-12 10:21:22 +02:00
holds.t
…
idp.t
…
ill_backends.t Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00
ill_batches.t Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00
ill_batchstatuses.t Bug 35581: Illbatchstatus* -> ILL::Batch::Status* 2024-04-22 08:57:42 +02:00
ill_requests.t Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00
import_batch_profiles.t
…
import_record_matches.t
…
item_groups.t
…
item_types.t
…
items.t Bug 36687: (RM follow-up) Fix unit tests 2024-05-09 09:22:00 +01:00
jobs.t Bug 36495: Use render_resource_not_found() helper everywhere 2024-04-26 18:06:13 +02:00
libraries.t Bug 36482: Add embed tests 2024-04-26 18:06:12 +02:00
oauth.t
…
pagination.t Bug 35129: Regression tests 2024-04-04 15:24:34 +02:00
password_validation.t Bug 36575: (QA follow-up) 2024-06-20 17:55:32 +02:00
patron_categories.t Bug 36453: (QA follow-up) Update api spec 2024-06-11 10:43:54 +01:00
patrons.t Bug 36505: Unit tests 2024-04-26 18:06:15 +02:00
patrons_accounts.t
…
patrons_checkouts.t Bug 22613: Add GET endpoint /patrons/{patron_id}/checkouts 2024-04-26 20:15:49 +02:00
patrons_extended_attributes.t
…
patrons_holds.t Bug 35353: Add REST API endpoint to retrieve old holds 2024-04-26 18:06:09 +02:00
patrons_password.t
…
patrons_password_expiration.t
…
patrons_recalls.t Bug 35967: Add more test cases 2024-04-19 19:54:44 +02:00
preservation_Processings.t
…
preservation_Trains.t
…
preservation_WaitingList.t
…
provider.t Bug 37157: Fix Malformed UTF-8 character in JSON string before decode_json 2024-06-27 11:50:06 +02:00
query.t
…
record_sources.t Bug 35919: Add /record_sources endpoints 2024-04-26 17:06:03 +02:00
responses.t Bug 36641: (QA follow-up) Fix variable name 2024-07-18 18:25:46 +02:00
return_claims.t
…
search_filters.t
…
smtp_servers.t
…
stockrotation_rotas.t Bug 35430: Add unit tests for new stockrotation endpoints 2024-06-28 13:49:25 +02:00
stockrotationstage.t
…
suggestions.t Bug 33363: Add unit tests 2024-07-12 10:21:25 +02:00
ticket_updates.t Bug 35657: Unit tests for ticket_update api addition 2024-05-02 15:03:37 +02:00
tickets.t Bug 36612: Unit test for public ticket add 2024-05-03 10:59:35 +02:00
transfer_limits.t Bug 36329: (follow-up) Fix error message comparisson in testes 2024-03-19 18:09:03 +01:00
two_factor_auth.t
…
unhandled_exceptions.t
…