View | Details | Raw Unified | Return to bug 31933
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt (-2 / +6 lines)
Lines 391-397 Link Here
391
391
392
        [% IF ( Koha.Preference('ExtendedPatronAttributes') ) %]
392
        [% IF ( Koha.Preference('ExtendedPatronAttributes') ) %]
393
            <li>
393
            <li>
394
                If loading patron attributes, the 'patron_attributes' field should contain a comma-separated list of attribute types and values. The attribute type code and a colon should precede each value. For example: <strong>INSTID:12345,LANG:fr</strong> or <strong>STARTDATE:January 1 2010,TRACK:Day</strong>. If an input record has more than one attribute, the fields should either be entered as an unquoted string (previous examples), or with each field wrapped in separate double quotes and delimited by a comma: <strong>&quot;STARTDATE:January 1, 2010&quot;,&quot;TRACK:Day&quot;</strong>.  The second syntax would be required if the data might have a comma in it, like a date string.
394
                If loading patron attributes, the 'patron_attributes' field should contain a comma-separated list of attribute types and values. The attribute type code and a colon should precede each value and each attribute should be bounded in double quotes. For example: <strong>"INSTID:12345","LANG:fr"</strong> or <strong>"STARTDATE:January 1 2010","TRACK:Day"</strong>. It is also very important that smart quotes are disabled in your spreadsheet editor as this can cause the patron import to fail. Here is an example file of how this should look:
395
                <a href='data:text/csv;charset=utf-8,cardnumber,surname,branchcode,categorycode,patron_attributes
396
123456789,SMITH,REF,REF,"""COURSE:reference, course"",""CSCODE:cscode reference"""'
397
                download="Patron attributes reference.csv">
398
                <strong>Click Here</strong>
399
                </a>
395
            </li>
400
            </li>
396
        [% END %]
401
        [% END %]
397
402
398
- 

Return to bug 31933