Bug 31212: (follow-up) Fix datelastseen when returning item

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Lucas Gass 2022-11-09 21:40:55 +00:00 committed by Tomas Cohen Arazi
parent 8b02cfe94b
commit 2cd45bae39
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -433,7 +433,7 @@ if ($barcode) {
$verify_item->itemlost(0);
# Update last_seen
$verify_item->datelastseen( dt_from_string()->ymd() );
$verify_item->datelastseen( dt_from_string() );
# Update last_borrowed if actual checkin
$verify_item->datelastborrowed( dt_from_string()->ymd() ) if $issue;