[Koha-bugs] [Bug 16834] Changing the "Set Inventory Date to" date doesn't do anything, date last seen always defaults to current date.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 18 17:58:32 CEST 2016


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

--- Comment #8 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Nick Clemens from comment #7)
> Yes it does

Confirmed!

So I found what is the problem, but no idea how to fix it:
inventory.pl calls ModItem and update datelastseen (l.210), but a call to
ModDateLastSeen is done later (l.332). ModDateLastSeen does not accept any
parameters and update datelastseen with the today's date.

My supposition is that bug 14001 introduced this bug by trying to fix something
else.
Maybe we could just remove the call to ModDateLastSeen and handle $moddatecount
somewhere else.

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


More information about the Koha-bugs mailing list