Bug 16829: make logaction and GetLogs aware of the interface column
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 1 Jul 2016 21:26:13 +0000 (18:26 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 17 Aug 2016 18:01:49 +0000 (18:01 +0000)
commitbaeba970f77dbc75ae859e9cc6ba04afa410f17a
tree9830edb44a45d3fd80ffa457a4f6b04ff8b28e64
parent8a135fd21a06045075b49b465082dae74086f53f
Bug 16829: make logaction and GetLogs aware of the interface column

This patch changes the logaction API so it accepts a new 'interface' param.
Current code calling logaction is not changed, and this parameter can be ommited
in most contexts, and it will correctly fall-back to C4::Context->interface.

Unit tests are provided on a different patch.

GetLogs gets patched as well, so it can be required to filter by 'interface' param.

Sponsored-by: NEKLS
Signed-off-by: Nicole C Engard <nengard@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Log.pm