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

--- Comment #4 from Marc VĂ©ron <[email protected]> ---
(In reply to Katrin Fischer from comment #3)
> The warning is still present, also we somehow seem to add 2 entries for each
> checkout and return of an item.

Check out an item generates 2 entries:

2016-01-26 17:14:16     A. Testman (51)         Catalog         Modify  Item
364        item $VAR1 = { 'itemnumber' => '364', 'issues' => 1,
'datelastborrowed' => '2016-01-26', 'holdingbranch' => 'CPL', 'itemlost_on' =>
undef, 'itemlost' => 0, 'onloan' => '2016-02-04' };

2016-01-26 17:14:16     A. Testman (51)         Catalog         Modify  Item
364        item $VAR1 = { 'itemnumber' => '364', 'datelastseen' =>
'2016-01-26', 'itemlost_on' => undef, 'itemlost' => 0 }; 

Check in the item generates 3 entries, #1 and #2 are identical:

2016-01-26 17:16:21     A. Testman (51)         Catalog         Modify  Item
364        item $VAR1 = { 'itemnumber' => '364', 'onloan' => undef };
2016-01-26 17:16:21     A. Testman (51)         Catalog         Modify  Item
364        item $VAR1 = { 'itemnumber' => '364', 'onloan' => undef };
2016-01-26 17:16:21     A. Testman (51)         Catalog         Modify  Item
364        item $VAR1 = { 'itemnumber' => '364', 'datelastseen' =>
'2016-01-26', 'itemlost_on' => undef, 'itemlost' => 0 }; 


It will be difficult to get that right, because while checking in and out,
ModItem is called several times and generates each time a log entry
(C4/Items.pm line 608)

Maybe the logs for items and for bibliographic records could be separated? E.g.
use 'Cataloguing' for records only and a new log 'Items' for Items?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to