Bug 35190: Adjust UI handling to avoid inserting an empty string
authorEmily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Mon, 30 Oct 2023 17:19:02 +0000 (13:19 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 17:22:47 +0000 (14:22 -0300)
commit97c09f1d3cf58500bf7b0f06446592fb77f6570f
treeff830d8e1578f4a1ec6b97ffd4b5c1d8ef0f2a1c
parenta3be301e628d63e3fc71bcd709f90756f0b9aab8
Bug 35190: Adjust UI handling to avoid inserting an empty string

To test:
1. In the Administration module, create an Additional Field that is
   not linked to an authorized value
2. Create another Additional Field that is linked to an authorized
   value
3. Access the database in the command line (koha-mysql kohadev)
4. Select all from additional_fields
5. Confirm that each field correctly lists either the appropriate
   authorized value, or NULL

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
admin/additional-fields.pl