[Koha-bugs] [Bug 26377] Clearly label parts of subscription-add.pl that relate to optional item records

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 25 18:19:52 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26377

--- Comment #6 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 135355
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135355&action=edit
Bug 26377: Clearly label parts of subscription-add.pl that relate to optional
item records

This patch modifies the form for adding a new subscription so that the
collection and item type fields are shown only when the subscription is
configured to create an item when receiving.

To test, apply the patch and go to Serials -> New subscription.

- When the page first loads, the "Do not create an item record when
  receiving this serial" radio button should be selected.
- Under the "Location" field there should be no item type or collection
  field.
- Select the "Create an item when receiving this serial" radio button.
- The item type and collection fields should appear.
- Test that the values are correctly saved when you add or edit a
  subscription.
- If you edit a subscription which had item type and collection defined,
  and you switch to "Do not create an item..." the record should save with
  empty values for those fields.
- Confirm that existing subscriptions open with the correct settings
  applied: Only records with "Create an item..." checked should open
  with the item type and collection fields displayed.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list