[Koha-bugs] [Bug 15296] New: MEMBER logging in action_logs does not give enough detail.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 3 16:17:43 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15296

            Bug ID: 15296
           Summary: MEMBER logging in action_logs does not give enough
                    detail.
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

One of our libraries was trying to track down an issue where a patron was
charged an enrollment fee -- looking at the patron's category code, it was
clear that the patron was not currently in a category that should have been
charged. I wanted to see if the patron's category code had changed.

Here's what I found in action_logs:

  select * from action_logs where object='5056' and module='MEMBERS';
+-----------+---------------------+------+---------+--------+--------+--------------------------------+
| action_id | timestamp           | user | module  | action | object | info    
                      |
+-----------+---------------------+------+---------+--------+--------+--------------------------------+
|   1109625 | 2015-12-02 15:36:32 | 3805 | MEMBERS | CREATE |   5056 |         
                      |
|   1109636 | 2015-12-02 15:58:28 | 3804 | MEMBERS | MODIFY |   5056 | UPDATE
(executed w/ arg: 5056) |
|   1109637 | 2015-12-02 16:02:50 | 3804 | MEMBERS | MODIFY |   5056 | UPDATE
(executed w/ arg: 5056) |
+-----------+---------------------+------+---------+--------+--------+--------------------------------+

The 'info' field simply tells me that patron 5056 was modified -- which doesn't
give me any information that I couldn't glean from the 'object' and 'action'
fields -- I really needed to know which fields in the borrower record were
changed.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list