Bug 39402

Summary: Mismatch between basket name length in HTML and database (+ the length could be bumped)
Product: Koha Reporter: Michał <schodkowy.omegi-0r>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39230
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Michał 2025-03-21 01:42:15 UTC
In HTML we have it limited to 80:

<input type="text" name="basketname" id="basketname" size="40" maxlength="80" value="" required="required" class="focus required valid" aria-invalid="false">

but in database aqbasket.basketname is limited to 50 for some reason. This results in the user being able to input more characters and the last 30 characters will then be SILENTLY TRUNCATED.

The max length of the value in database should be expanded to at least 80 to match up the HTML (potentially to even more?).