projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bug 24705: Holds placed via SIP will be given first priority
[koha.git]
/
C4
/
SIP
/
ILS
/
Transaction
/
Hold.pm
diff --git
a/C4/SIP/ILS/Transaction/Hold.pm
b/C4/SIP/ILS/Transaction/Hold.pm
index
ecf8416
..
d51ebde
100644
(file)
--- a/
C4/SIP/ILS/Transaction/Hold.pm
+++ b/
C4/SIP/ILS/Transaction/Hold.pm
@@
-66,8
+66,10
@@
sub do_hold {
return $self;
}
+ my $priority = C4::Reserves::CalculatePriority($item->biblionumber);
AddReserve(
{
+ priority => $priority,
branch => $branch,
borrowernumber => $patron->borrowernumber,
biblionumber => $item->biblionumber