[Koha-bugs] [Bug 12543] Add userid as matchpoint for "Import patrons" tool

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 27 16:48:51 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12543

Frédéric Demians <frederic at tamil.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29574|0                           |1
        is obsolete|                            |

--- Comment #2 from Frédéric Demians <frederic at tamil.fr> ---
Created attachment 32793
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32793&action=edit
Bug 12543 - Add userid as matchpoint for "Import patrons" tool

The a patron's userid should be a matchpoint in the same manner as
cardnumber. Though not enforced as a unique key by the database yet
( pending bug 1861 ), this field is effectively unique as uniqueness
is enforced by Koha itself.

Test Plan:
1) Apply this patch
2) Browse to tools/import_borrowers.pl
3) Download the starter CSV file
4) Edit the csv file to include 1 or more patrons
   * Make sure to leave the borrowernumber field empty
   * Make sure the userid field matches the patrons you wish to overwrite
5) From import_borrowers.pl, upload your file
   * Set "Field to use for record matching" to "Username"
   * Set "If matching record is already in the borrowers table" to "Overwrite
the existing one with this"
6) Click "Import"
7) Verify the patrons in your file have been updated in Koha

Signed-off-by: Frederic Demians <f.demians at tamil.fr>

Do exactly what's announced. This may help.

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


More information about the Koha-bugs mailing list