]> git.koha-community.org Git - koha.git/commit
Bug 22097: CataloguingLog should be suppressed for item branch transfers
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 10 Jan 2019 19:32:22 +0000 (14:32 -0500)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 12 Feb 2019 21:12:12 +0000 (21:12 +0000)
commit708fcf8b4ccfa04681339920d1a1c9fb608c9d03
treeb62e520bf6ddb6b2edcba824cc494e9d87195744
parente347ef104a389d62eebb1fb9385865167e7235e8
Bug 22097: CataloguingLog should be suppressed for item branch transfers

Bug 18816 missed the fact that a branch transfer triggers ModItem and
thus generates an action log line. We should not be creating those
action logs, especially considering the transfers table itself already
documents the transfer.

Test Plan:
1) Enable CataloguingLog
2) Transfer an item to another branch
3) Note the new action log line created
4) Apply this patch
5) Create another item transfer
6) No new action log line should be created!

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit b3c25b64b868b56423c50b9df4fac4bb55947679)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0f0218bc838bee7b55853a456334fd2518b5784c)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Items.pm