[Koha-devel] Where the field studentnumber of borrower is?

Rodrigo Santellan rsantellan at gmail.com
Fri Sep 16 21:06:05 CEST 2016


Thank you Zeno,

I will create some sql to do it from the db directly.

Thanks a lot!

On Fri, Sep 16, 2016 at 4:01 PM, Zeno Tajoli <z.tajoli at cineca.it> wrote:

> Hi,
>
> >I'm migrating from Koha 2 to 3 and the field studentnumber of the table
> borrowers has gone?
> reading the code of update22to30.pl the answer is yes.
>
>
>  243     my %uselessfields = (
>  244     # tablename => "field1,field2",
>  245         borrowers => "suburb,altstreetaddress,altsuburb,altcity,
> studentnumber,school,area,preferredcont,altcp",
>  246         deletedborrowers=> "suburb,altstreetaddress,
> altsuburb,altcity,studentnumber,school,area,preferredcont,altcp",
>  247         items => "multivolumepart,multivolume,binding",
>  248         deleteditems => "multivolumepart,multivolume,binding",
>  249         );
>
> > It should be now on a patron custom type?
> Yes, but data from borrowers.studentnumber don't migrate.
>
> If you need to migrate data from borrowers.studentnumber to a specific
> patron attribute
> you need to write and ad hoc script.
> About patron attributes see: http://translate.koha-
> community.org/manual/16.05/en/patronattributetypes.html
>
> Bye
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20160916/280470b0/attachment.html>


More information about the Koha-devel mailing list