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

Emmi Takkinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected] |[email protected]
                   |ity.org                     |
             Status|NEW                         |Needs Signoff
                 CC|                            |[email protected]

--- Comment #1 from Emmi Takkinen <[email protected]> ---
Created attachment 198822
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198822&action=edit
Bug 38886: Update borrowers.lastseen on patron modification

Column borrowers.lastseen should be updated also when patron
is modified. This patch adds option "Modifying a patron" to
systempreference "TrackLastPatronActivityTriggers". When enabled
column is updated when patron is modified from "Modify patron"
page, but not when patron is modified with batch modification
tool.

To test:
1. Find a patron to modify.
2. Make some changes to patron info and save.
3. Check database with following query:
SELECT lastseen FROM borrowers WHERE borrowernumber = [borrowernumber];
=> Note that lastseen value is not updated.
4. Apply this patch.
5. Enable option "Modifying a patron" for syspref
"TrackLastPatronActivityTriggers".
6. Modify patron again and check database.
=> Note that lastseen value has been updated.

Sponsored-by: Koha-Suomi Oy

-- 
You are receiving this mail because:
You are the assignee for the bug.
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