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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|This bug fix prevents       |This prevents misleading
      release notes|misleading patron attribute |patron attribute
                   |modification logs, when a   |modification logs, when a
                   |library batch imports       |library batch imports
                   |patrons  with the           |patrons with the
                   |BorrowersLog system         |BorrowersLog system
                   |preference set to 'Log'.    |preference set to 'Log'. It
                   |                            |now correctly only shows a
                   |                            |log entry when a patron
                   |                            |attribe value is changed.
                   |                            |
                   |                            |Example:
                   |                            |- Before the change: for an
                   |                            |existing patron with a
                   |                            |patron attribute of
                   |                            |INSTID:1234, with a
                   |                            |re-import the log shows {
                   |                            |"attribute.INSTID" : {
                   |                            |"after" : "1234", "before"
                   |                            |: "" } }, even though there
                   |                            |is no change to the patron
                   |                            |attribute.
                   |                            |- After the change:
                   |                            |  . No log entry is shown
                   |                            |if is no change to the
                   |                            |patron attribute.
                   |                            |  . If there is a change to
                   |                            |the patron attribute (for
                   |                            |example, changed to 5678 on
                   |                            |a re-import), it is now
                   |                            |correctly shown - {
                   |                            |"attribute.INSTID" : {
                   |                            |"after" : "5678", "before"
                   |                            |: "1234" } }
                 CC|                            |[email protected]

--- Comment #10 from David Nind <[email protected]> ---
Testing notes (using KTD):

1. Values for the csv file:
   . cardnumber = 987654321
   . surname = Surname
   . firstname = Firstname
   . branchcode = CPL
   . categorycode = PT
   . auth_method = password
   . lang = fr
   . patron_attributes columns = INSTID:1234

-- 
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