Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digibib
koha-docker
Commits
e127c2a3
Commit
e127c2a3
authored
Sep 03, 2018
by
Petter Goksøyr Åsen
Browse files
plukkliste: exclude items allready bound for a hold
parent
232adcd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
files/cronjobs/holds.compute.pl
View file @
e127c2a3
...
...
@@ -81,8 +81,10 @@ sub compute {
my
@items
=
SELECT
"
items.*, branchtransfers.tobranch transfer_to FROM items
LEFT JOIN branchtransfers ON branchtransfers.itemnumber = items.itemnumber AND datearrived IS NULL
WHERE biblionumber = ?
AND deleted_on IS NULL
"
LEFT JOIN reserves ON reserves.itemnumber = items.itemnumber
WHERE items.biblionumber = ?
AND deleted_on IS NULL
AND found IS NULL
"
=>
[
$bnum
]
=>
sub
{
return
\
%_
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment