Koha/api/v1/swagger/paths
Martin Renvoize 5f614c05fd
Bug 28854: Expose functionality to attach items to bundles
This patch adds methods the the Koha::Item object for managing item
bundling operations and then exposes those methods via the REST API.

We include the new `BundleNotLoanValue` preference for setting not
for loan values when an item is added to a bundle.

Finally, we expose bundle management via the catalogue details page.

Test plan:
0) Apply patches up to this point and run the database update
1) Configuration: `BundleNotLoanValue` should have been set by the
   database update and point to a newly added AV value.
2) Creating a new bundle
   * Add a new bib record
   * Mark the bib record as a 'collection' type by setting leader
     position 7 to 'c'
   * Add a new item to this bib record
   * You should see a new 'Manage bundle' button available in the
     'Actions' column of the Holdings table.
   * Clicking 'Manage bundle' should expand the table to include a new
     row directly beneath this one.
   * Use the new 'Add to bundle' button that appears in this row to
     trigger a modal that allows entering the barcode of items you wish
     to add to the bundle
   * Upon closing the modal, the bundle content table should reload and
     contain your newly associated items.
   * You can subsequently remove an item from a bundle using the new
     'Remove' button.
3) Not for loan
   * Items that have been added into a bundle should now appear as 'Not
     for loan' from their original biblio record and note which bundle
     they belong to.
4) Error cases
   * Try adding an item that already belongs to a bundle to another
     bundle: Note an error is displayed in the modal form.
5) The bundles feature can be disabled by unsetting the
   `BundleNotLoanValue` system preference.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-13 10:35:25 -03:00
..
acquisitions_baskets.yaml Bug 30536: (QA follow-up) POD + Spec Consistency 2022-05-03 11:19:51 -10:00
acquisitions_funds.yaml Bug 30536: Update spec files 2022-05-03 11:19:51 -10:00
acquisitions_orders.yaml Bug 30536: Update spec files 2022-05-03 11:19:51 -10:00
acquisitions_vendors.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
advancededitormacros.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
article_requests.yaml
biblios.yaml Bug 30536: Update spec files 2022-05-03 11:19:51 -10:00
biblios_item_groups.yaml Bug 24857: Fix missing additionalProperties in spec 2022-07-08 19:11:23 -03:00
cash_registers.yaml Bug 30536: Update spec files 2022-05-03 11:19:51 -10:00
checkouts.yaml Bug 30275: (follow-up) Rebase fixes 2022-07-05 09:46:12 -03:00
circulation-rules.yaml
cities.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
clubs.yaml
config_smtp_servers.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
holds.yaml Bug 30780: Librarians with only "place_holds" permissions can not update holds data via REST API 2022-06-13 11:48:10 -03:00
ill_backends.yaml
illrequests.yaml
import_batch_profiles.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
import_batches.yaml Bug 30855: Rename /import => /import_batches 2022-06-02 13:42:28 -03:00
items.yaml Bug 28854: Expose functionality to attach items to bundles 2022-07-13 10:35:25 -03:00
libraries.yaml Bug 30536: Update spec files 2022-05-03 11:19:51 -10:00
oauth.yaml
patrons.yaml Bug 29924: (QA follow-up) Remove password_expiration_date from API 2022-05-06 10:33:09 -10:00
patrons_account.yaml
patrons_extended_attributes.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
patrons_holds.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
patrons_password.yaml Bug 29926: (QA follow-up) Date format missing in spec 2022-05-06 10:33:10 -10:00
public_patrons.yaml
quotes.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00
return_claims.yaml
rotas.yaml
suggestions.yaml Bug 30663: Add x-koha-override options to /suggestions 2022-05-05 10:26:41 -03:00
transfer_limits.yaml Bug 30394: Add x-koha-request-id support on API routes 2022-04-04 16:23:46 +02:00