[Bug 38886] New: TrackLastPatronActivityTriggers should have an option for patron modification
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38886 Bug ID: 38886 Summary: TrackLastPatronActivityTriggers should have an option for patron modification Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Patrons Assignee: koha-bugs@lists.koha-community.org Reporter: anneli.osterman@koha-suomi.fi QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com Bug 23486 added the option for patron creation and it would be great if patron modification in staff interface would also update patron's lastseen field when the update is done in cgi-bin/koha/members/memberentry.pl. Batch patron modification should not update the lastseen field because it is often used to fix information without patron's own request and patron is not therefore "seen" in these cases. For example a library closes down permanently and patrons' home library is changed to another one. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38886 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |emmi.takkinen@koha-suomi.fi |ity.org | Status|NEW |Needs Signoff CC| |emmi.takkinen@koha-suomi.fi --- Comment #1 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- 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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org