Bug 40897

Summary: Uneven field lengths in additem.tt
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: CatalogingAssignee: Laura Escamilla <Laura.escamilla>
Status: Pushed to main --- QA Contact: Paul Derscheid <paul.derscheid>
Severity: minor    
Priority: P5 - low CC: Chip.Halvorsen, cj.lynce, gmcharlt, karie.straube, kyle, Laura.escamilla, m.de.rooy, paul.derscheid
Version: MainKeywords: release-notes-needed
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
25.11.00
Circulation function:
Attachments: Example
Bug 40897: Resized the field lengths to ensure even lengths
Bug 40897: Resized the field lengths to ensure even lengths
Bug 40897: Resized the field lengths to ensure even lengths

Description Lucas Gass (lukeg) 2025-09-29 12:59:40 UTC
Created attachment 187036 [details]
Example

IF you look at the additem form on additem.tt the input lengths are not the same width. Fields with select2 dropdowns are longer than those without.
Comment 1 Laura Escamilla 2025-09-30 21:09:26 UTC
Created attachment 187142 [details] [review]
Bug 40897: Resized the field lengths to ensure even lengths

To test:
1. Select an existing record and manage items (or create a new record) so that you are on the additem.pl form.
2. Notice that the fields are uneven lengths.
3. Apply the patch. Do a yarn build and restart_all. Clear your browser cache if necessary.
4. Refresh the additem.pl page and notice that the fields are all the same length now.
5. Sign off and have a great day!
Comment 2 CJ Lynce 2025-10-01 19:58:08 UTC
Created attachment 187224 [details] [review]
Bug 40897: Resized the field lengths to ensure even lengths

To test:
1. Select an existing record and manage items (or create a new record) so that you are on the additem.pl form.
2. Notice that the fields are uneven lengths.
3. Apply the patch. Do a yarn build and restart_all. Clear your browser cache if necessary.
4. Refresh the additem.pl page and notice that the fields are all the same length now.
5. Sign off and have a great day!

Signed-off-by: CJ Lynce <cj.lynce@westlakelibrary.org>
Comment 3 Paul Derscheid 2025-10-02 10:01:56 UTC
Created attachment 187247 [details] [review]
Bug 40897: Resized the field lengths to ensure even lengths

To test:
1. Select an existing record and manage items (or create a new record) so that you are on the additem.pl form.
2. Notice that the fields are uneven lengths.
3. Apply the patch. Do a yarn build and restart_all. Clear your browser cache if necessary.
4. Refresh the additem.pl page and notice that the fields are all the same length now.
5. Sign off and have a great day!

Signed-off-by: CJ Lynce <cj.lynce@westlakelibrary.org>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Comment 4 Paul Derscheid 2025-10-02 10:05:58 UTC
This is great!
Comment 5 Lucas Gass (lukeg) 2025-10-06 15:17:00 UTC
Nice work everyone!

Pushed to main for 25.11