[Koha-devel] Curiosity why is cardnumber field size 16?

Barton Chittenden barton at bywatersolutions.com
Wed Sep 14 14:58:17 CEST 2016


+1

I've seen this become a pain point before; I definitely support extending
it.

On Wed, Sep 14, 2016 at 3:25 AM, Jonathan Druart <
jonathan.druart at bugs.koha-community.org> wrote:

> Hi Indranil,
>
> I do not think there is any valid reason, I guess 16 looked enough at
> the time. If you want to extend it, feel free to submit a patch.
>
> Cheers,
> Jonathan
>
> 2016-09-14 0:15 GMT+01:00 Indranil Das Gupta <indradg at gmail.com>:
> > Hi all,
> >
> > I'm curious to know why is Koha's cardnumber field in borrowers table
> > is historically set to VARCHAR(16) rather than say VARCHAR(255)?
> > Especially since we now have the CardnumberLength syspref which we
> > could use to drive the length rather than hardcode it down at 16.
> >
> > The background of this question: Schools in Nigeria use a
> > matriculation number which is often larger than 16, as their
> > cardnumber. Zeno did mention to me in a FB post that
> > ExtendedPatronAttribute would equally do the job.
> >
> > Thoughts?
> >
> > -indranil
> >
> > --
> > Indranil Das Gupta
> > L2C2 Technologies
> >
> > Phone : +91-98300-20971
> > Blog    : http://blog.l2c2.co.in
> > IRC     : indradg on irc://irc.freenode.net
> > Twitter : indradg
> > _______________________________________________
> > Koha-devel mailing list
> > Koha-devel at lists.koha-community.org
> > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> > website : http://www.koha-community.org/
> > git : http://git.koha-community.org/
> > bugs : http://bugs.koha-community.org/
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20160914/8b93af37/attachment.html>


More information about the Koha-devel mailing list