Giter VIP home page Giter VIP logo

koha-plugin-patron-passport's Introduction

Patron Passport plugin for Koha

This plugin allows separate instances of Koha to automatically import patrons from other Koha servers. If a cardnumber is not found in an instances database, that server will query the other servers in the group to find the server that has that patron, and will copy the patron from it.

Installation

This plugin requires the installation of the Perl library Parallel::Loops, which is not included with Koha.

  • Enable RESTBasicAuth on all Koha instances

This plugin requires data to be added to koha-conf.xml in the following format:

 <patron_passport>
    <setting name="default_categorycode" value="PT"/>
    <setting name="default_branchcode" value="MPL"/>
    <setting name="use_logged_in_branchcode" value="1"/> <!-- has precedence over default branchcode -->

    <servers>
        <server name="ServerB" address="https://libB.libraries.org" username="koha" password="koha" />
        <server name="ServerC" address="https://libC.libraries.org" username="koha" password="koha" />
    </servers>
 </patron_passport>

this must be inside the config block of the koha conf.

Setup

It is important that all the possible branchcodes and category codes be set up in all Koha instances unless you are using the settings to replace the external codes with your own internal ones. Any attept to import a patron with a branchcode or category code that is not valid in your Koha instance will fail.

koha-plugin-patron-passport's People

Contributors

kylemhall avatar kidclamp avatar tomascohen avatar

Watchers

 avatar  avatar James Cloos avatar  avatar Joy avatar  avatar  avatar

koha-plugin-patron-passport's Issues

Duplicated barcodes

Some systems may want to share patrons, but also have duplicated barcodes - there should be a way to force external lookup

Updating patron info

It would be nice if passported patrons had a way to update information from the originating site - in the case of address changes, etc.

Add ability to configure multiple patron categories

It'd be helpful to be able to configure some way to route created patrons into more than one patron category. In our use case, we'd like to either be able to make that distinction based on the category in the original ILS ("Library A's 'REG' patrons become 'OAREG' in our system, but their 'JUV' patrons become 'OAJUV'") or based on the date of birth in the patron record ("Patrons 18+ become 'OAREG' but 17 and under become 'OAJUV'").

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.