Should be possible to release and act in same day.
This commit is contained in:
parent
18ccb9d152
commit
33e2a42179
1 changed files with 1 additions and 1 deletions
|
@ -1129,7 +1129,7 @@ sub getRequest($$;$) {
|
||||||
$self->dbh->quote($requestId, 'SQL_INTEGER'),
|
$self->dbh->quote($requestId, 'SQL_INTEGER'),
|
||||||
'request_id');
|
'request_id');
|
||||||
if (defined $holdReq and defined $holdReq->{$requestId} and defined $holdReq->{$requestId}{id}) {
|
if (defined $holdReq and defined $holdReq->{$requestId} and defined $holdReq->{$requestId}{id}) {
|
||||||
return undef if $ignoreHeldRequests and ($TODAY le $holdReq->{$requestId}{release_date});
|
return undef if $ignoreHeldRequests and ($TODAY lt $holdReq->{$requestId}{release_date});
|
||||||
$rsp->{holdDate} = $holdReq->{$requestId}{hold_date};
|
$rsp->{holdDate} = $holdReq->{$requestId}{hold_date};
|
||||||
$rsp->{holdReleaseDate} = $holdReq->{$requestId}{release_date};
|
$rsp->{holdReleaseDate} = $holdReq->{$requestId}{release_date};
|
||||||
$rsp->{holder} = $holdReq->{$requestId}{who};
|
$rsp->{holder} = $holdReq->{$requestId}{who};
|
||||||
|
|
Loading…
Reference in a new issue