[Koha-bugs] [Bug 14806] Action Log for Modifying message_transport_types

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 25 14:29:18 CEST 2019


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

Lari Taskula <lari.taskula at hypernova.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #42486|0                           |1
        is obsolete|                            |

--- Comment #8 from Lari Taskula <lari.taskula at hypernova.fi> ---
Created attachment 94749
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94749&action=edit
Bug 14806 - Action Log for Modifying message_transport_types

This is a crude fix.
koha.action_logs-entries are generated when Borrower has been modified using
C4::Form::MessagingPreferences

log entries look like this:

| MEMBERS | MOD MTT | All message_transports removed
| MEMBERS | MOD MTT | [{'_name' => 'Advance_Notice','da' => '4','dig' =>
1,'mtt' => ['email']},{'_name' => 'Item_Check_in','mtt' => ['email']},{'_name'
=> 'Item_Checkout','mtt' => ['email']}]

TEST PLAN:

0. Activate system preference "BorrowersLog".
1. In intra, edit a Borrowers messaging preferences.
2. In OPAC remove your messaging preferences.
3. SELECT * FROM action_logs ORDER BY timestamp DESC LIMIT 5;
3.1. You should see your new action logs entries.

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