Commit 11dcd84f authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen Committed by Petter Goksøyr Åsen
Browse files

DEICH-5481 regard 'på hentehylle'-lost items as countable/reservable

parent ef65af44
......@@ -181,6 +181,15 @@ sub GetExpanded {
$item->{reservable} = 0;
}
# DEICH-5481
# Following lost-statuses are reservable and countable:
# 7 På hentehylle - avbestilt
# 9 På hentehylle - utgått
if ($item->{itemlost} and ($item->{itemlost} = 7 or $item->{itemlost} = 9)) {
$item->{countable} = 1;
$item->{reservable} = 1;
}
# TODO: Remove $item->{status} when no longer needed
$item->{status} = $item->{public_status};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment