Bugzilla – Attachment 2706 Details for
Bug 5146
Patron Import Requires Header Row
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-bug-5146-patron-import-files-require-header-row.patch (text/plain), 2.36 KB, created by
Galen Charlton
on 2010-10-28 12:02:42 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Galen Charlton
Created:
2010-10-28 12:02:42 UTC
Size:
2.36 KB
patch
obsolete
>From 7d3500a768add67d91b9a219042ce99b51e27695 Mon Sep 17 00:00:00 2001 >From: Galen Charlton <gmcharlt@gmail.com> >Date: Thu, 28 Oct 2010 07:54:23 -0400 >Subject: [PATCH] bug 5146: patron import files require header row > >Fixed help text on this point as well as options for >supplying dates in the input file. > >Signed-off-by: Galen Charlton <gmcharlt@gmail.com> >--- > .../prog/en/modules/tools/import_borrowers.tmpl | 10 ++++++---- > 1 files changed, 6 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tmpl >index ad3b663..0e409b6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tmpl >@@ -142,8 +142,9 @@ > <div class="yui-u"> > <h2>Notes:</h2> > <ul> >+<li>The first line in the file must be a header row defining which columns you are supplying in the import file.</li> > <li><b>Download a starter CSV file with all the columns <a href="?sample=1">here</a>.</b> Values are comma-separated.</li> >-<li>OR format your file in CSV format with the following fields:<ul><li> >+<li>OR choose which fields you want to supply from the following list:<ul><li> > <!-- TMPL_LOOP name="columnkeys" -->'<!-- TMPL_VAR name="key" -->', <!-- /TMPL_LOOP --> > </li></ul></li> > <!-- TMPL_IF NAME="ExtendedPatronAttributes" --> >@@ -151,9 +152,10 @@ > </li> > <!-- /TMPL_IF --> > <li>The fields 'branchcode' and 'categorycode' are <b>required</b> and <b>must match</b> valid entries in your database.</li> >-<li>'password' should be stored in plaintext, and will be converted to a md5 hash (if your passwords are already encrypted, talk to your systems administrator about options).</li> >-<li>Date formats should match your system preference, and <b>must</b> be zero-padded, e.g. '01/02/2008'.</li> >-<li>You may optionally include a header row, defining which columns you are supplying in the import file.</li> >+<li>'password' should be stored in plaintext, and will be converted to a MD5 hash (if your passwords are already encrypted, talk to your system administrator about options).</li> >+<li>Date formats should match your system preference, and <b>must</b> be zero-padded, e.g. '01/02/2008'. Alternatively, >+you can supply dates in ISO format (e.g., '2010-10-28'). >+</li> > </ul> > > </div> >-- >1.7.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5146
:
2538
| 2706 |
2722
|
2723