[Koha-bugs] [Bug 31716] Enlarge the size of the authorised_value column in authorised_values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 12 13:25:03 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31716

--- Comment #8 from Nick Clemens <nick at bywatersolutions.com> ---
(In reply to David Nind from comment #3)
> I can now update an authorized value code using the database, but I can't
> add or edit using the staff interface as the form entry's maximum length is
> 80: <input type="text" id="authorised_value" name="authorised_value"
> value="" maxlength="80" class="focus" />.
> 
Fixed

(In reply to Marcel de Rooy from comment #4)
> You go from 80 to 255. At some point that is too low again. We should imo go
> to a TEXT type: A TEXT column with a maximum length of 65,535 (216 - 1)
> characters.
> One point: VARCHAR columns can be fully indexed. TEXT columns can only be
> indexed over a specified length.

Some versions of MySQL/Maria allow varchar up to 65535 - so we can increase in
future as needed - this was the largest push without more work and sufficient
for current needs

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list