Bug 31437: (bug 30718 follow-up) Prevent useless indexation call from ModDateLastSeen
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 14 Oct 2022 09:04:40 +0000 (11:04 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Oct 2022 12:25:10 +0000 (09:25 -0300)
commit6d9c1403fbaf2e9784bd4774d41df4e07249022e
treefa5433d0e5e4a71f860b4c2da45a0d3f2334c906
parent1b7db7e36934f9b72a3599733fcc81502975c075
Bug 31437: (bug 30718 follow-up) Prevent useless indexation call from ModDateLastSeen

Koha::Object->store is triggering an UPDATE because the datelastseen is
different than the value in DB (comparing a datetime with a date)

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Items.pm