I was documenting bug 38663 and noticed that the Additional fields section doesn't appear when adding a new library. To recreate: 1. Go to Administration > Additional fields > Libraries (branches) > New field 2. Enter a name for the field 3. Click Save 4. Go to Administration > Libraries > New library --> The form does not contain the additional field
I can confirm that this is happening: 1. Additional fields for libraries show when editing and existing library 2. Additional fields for libraries don't show when creating a new library
*** Bug 40735 has been marked as a duplicate of this bug. ***
Created attachment 186013 [details] [review] Bug 40734: Fix creating new library with additional fields Test plan, dont apply patch yet: 1. Go to Administration > Additional fields > Libraries (branches) > New field 2. Enter a name for the field 3. Click Save 4. Go to Administration > Libraries > New library --> The form does not contain the additional field 5. Apply patch. Repeat.
Created attachment 186015 [details] [review] Bug 40734: Fix creating new library with additional fields Test plan, dont apply patch yet: 1. Go to Administration > Additional fields > Libraries (branches) > New field 2. Enter a name for the field 3. Click Save 4. Go to Administration > Libraries > New library --> The form does not contain the additional field 5. Apply patch. Repeat. Signed-off-by: David Nind <david@davidnind.com>
Created attachment 186454 [details] [review] Bug 40734: Fix creating new library with additional fields Test plan, dont apply patch yet: 1. Go to Administration > Additional fields > Libraries (branches) > New field 2. Enter a name for the field 3. Click Save 4. Go to Administration > Libraries > New library --> The form does not contain the additional field 5. Apply patch. Repeat. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Nice work everyone! Pushed to main for 25.11
Nice work everyone! Pushed to 25.05.x
Depends on Bug 38663 not in 24.11.x