Commit 077dc885 authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen
Browse files

plukkliste: exclude delete items

parent 29dcaf95
...@@ -80,7 +80,8 @@ sub compute { ...@@ -80,7 +80,8 @@ sub compute {
my @items = SELECT "items.*, branchtransfers.tobranch transfer_to FROM items my @items = SELECT "items.*, branchtransfers.tobranch transfer_to FROM items
LEFT JOIN branchtransfers ON branchtransfers.itemnumber = items.itemnumber AND datearrived IS NULL LEFT JOIN branchtransfers ON branchtransfers.itemnumber = items.itemnumber AND datearrived IS NULL
WHERE biblionumber = ?" WHERE biblionumber = ?
AND deleted_on IS NULL"
=> [$bnum] => sub { => [$bnum] => sub {
return \%_; return \%_;
}; };
......
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