Lines 403-409
The last optional parameter allows for passing skip_record_index through to the
Link Here
|
403 |
|
403 |
|
404 |
sub ModDateLastSeen { |
404 |
sub ModDateLastSeen { |
405 |
my ( $itemnumber, $leave_item_lost, $params ) = @_; |
405 |
my ( $itemnumber, $leave_item_lost, $params ) = @_; |
406 |
my $today = output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 0 }); |
|
|
407 |
|
406 |
|
408 |
my $item = Koha::Items->find($itemnumber); |
407 |
my $item = Koha::Items->find($itemnumber); |
409 |
$item->datelastseen(dt_from_string); |
408 |
$item->datelastseen(dt_from_string); |
Lines 588-594
sub GetItemsForInventory {
Link Here
|
588 |
} |
587 |
} |
589 |
|
588 |
|
590 |
if ($datelastseen) { |
589 |
if ($datelastseen) { |
591 |
$datelastseen = output_pref({ str => $datelastseen, dateformat => 'iso', dateonly => 0 }); |
|
|
592 |
push @where_strings, '(datelastseen < ? OR datelastseen IS NULL)'; |
590 |
push @where_strings, '(datelastseen < ? OR datelastseen IS NULL)'; |
593 |
push @bind_params, $datelastseen; |
591 |
push @bind_params, $datelastseen; |
594 |
} |
592 |
} |
595 |
- |
|
|