Bug 41411

Summary: Streetnumber field is limited to 10 characters despite being tinytext
Product: Koha Reporter: Matt Blenkinsop <matt.blenkinsop>
Component: PatronsAssignee: Matt Blenkinsop <matt.blenkinsop>
Status: Pushed to stable --- QA Contact: Laura Escamilla <Laura.escamilla>
Severity: enhancement    
Priority: P5 - low CC: david, gmcharlt, kyle, Laura.escamilla
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: Sponsored Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
The input form for a patron's main and alternative address street number fields are limited to 10 characters, even though the underlying database field can have up to 255 characters. This enhancement removes this 10-character limit, which makes it more useful where house names are used instead of house numbers.
Version(s) released in:
26.05.00,25.11.02
Circulation function:
Bug Depends on: 41409    
Bug Blocks:    
Attachments: Bug 41411: Remove the input length restriction on streetnumber
Bug 41411: Remove the input length restriction on streetnumber
Bug 41411: Remove the input length restriction on streetnumber

Description Matt Blenkinsop 2025-12-09 17:30:29 UTC
The streetnumber input fields are limited to 10 characters which can be difficult for using house names instead of house numbers
Comment 1 Matt Blenkinsop 2025-12-09 17:37:06 UTC
Created attachment 190382 [details] [review]
Bug 41411: Remove the input length restriction on streetnumber

Test plan:
1) In the intranet, try to add a new patron
2) When typing into the streetnumber field, the string will be truncated after 10 characters
3) Try the same in the OPAC, the field will be limited
4) Repeat for the streetnumber for the alternate addresses
5) Apply patch
6) Repeat steps 1-4, the field should now accept a longer string

Sponsored-by Cheshire West and Chester Council
Comment 2 Owen Leonard 2025-12-10 20:44:54 UTC
Created attachment 190420 [details] [review]
Bug 41411: Remove the input length restriction on streetnumber

Test plan:
1) In the intranet, try to add a new patron
2) When typing into the streetnumber field, the string will be
   truncated after 10 characters
3) Try the same in the OPAC, the field will be limited
4) Repeat for the streetnumber for the alternate addresses
5) Apply patch
6) Repeat steps 1-4, the field should now accept a longer string

Sponsored-by Cheshire West and Chester Council

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 3 Laura Escamilla 2025-12-22 16:35:12 UTC
Created attachment 190683 [details] [review]
Bug 41411: Remove the input length restriction on streetnumber

Test plan:
1) In the intranet, try to add a new patron
2) When typing into the streetnumber field, the string will be
   truncated after 10 characters
3) Try the same in the OPAC, the field will be limited
4) Repeat for the streetnumber for the alternate addresses
5) Apply patch
6) Repeat steps 1-4, the field should now accept a longer string

Sponsored-by Cheshire West and Chester Council

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Comment 4 Lucas Gass (lukeg) 2025-12-30 14:51:36 UTC
Nice work everyone!

Pushed to main for 26.05
Comment 5 ChloƩ Zermatten 2026-02-03 15:02:12 UTC
All pushed to 25.11.x Thanks all!