https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37640

Aleisha Amohia <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This enhancement adds a new
      release notes|                            |system preference
                   |                            |RESTPatronIDField. It is
                   |                            |set to borrowernumber by
                   |                            |default, to support the
                   |                            |standard behaviour of
                   |                            |providing a borrowernumber
                   |                            |to the Koha REST API
                   |                            |endpoints to identify a
                   |                            |patron.
                   |                            |
                   |                            |When the syspref
                   |                            |is set to cardnumber, Koha
                   |                            |will identify the patron
                   |                            |using a provided cardnumber
                   |                            |and not match on
                   |                            |borrowernumber at all.
                   |                            |
                   |                            |This is useful in cases
                   |                            |where organisations may
                   |                            |want to use the API
                   |                            |endpoints to do patron
                   |                            |actions, but don't have the
                   |                            |borrowernumber, as this is
                   |                            |a unique ID generated
                   |                            |within Koha.
                   |                            |
                   |                            |Note: it's
                   |                            |possible that giving a
                   |                            |borrowernumber when the API
                   |                            |endpoint is expecting a
                   |                            |cardnumber will still
                   |                            |return results, and vice
                   |                            |versa - if your cardnumber
                   |                            |is an integer and happens
                   |                            |to also be a
                   |                            |borrowernumber. It's
                   |                            |important in this case that
                   |                            |only one or the other is
                   |                            |used to ensure expected
                   |                            |results.
   Patch complexity|---                         |Small patch

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to