Bug 41411 - Streetnumber field is limited to 10 characters despite being tinytext
Summary: Streetnumber field is limited to 10 characters despite being tinytext
Status: Pushed to stable
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Matt Blenkinsop
QA Contact: Laura Escamilla
URL:
Keywords:
Depends on: 41409
Blocks:
  Show dependency treegraph
 
Reported: 2025-12-09 17:30 UTC by Matt Blenkinsop
Modified: 2026-02-03 15:02 UTC (History)
4 users (show)

See Also:
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:


Attachments
Bug 41411: Remove the input length restriction on streetnumber (4.27 KB, patch)
2025-12-09 17:37 UTC, Matt Blenkinsop
Details | Diff | Splinter Review
Bug 41411: Remove the input length restriction on streetnumber (4.32 KB, patch)
2025-12-10 20:44 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 41411: Remove the input length restriction on streetnumber (4.39 KB, patch)
2025-12-22 16:35 UTC, Laura Escamilla
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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!