projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35abad
)
Changed the way to get borrower's branchcode in HoldItem and HoldTitle
author
Jean-André Santoni
<jeanandre.santoni@biblibre.com>
Fri, 12 Jun 2009 10:10:14 +0000
(12:10 +0200)
committer
Galen Charlton
<gmcharlt@gmail.com>
Sun, 6 Sep 2009 17:41:25 +0000
(13:41 -0400)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/ILSDI/Services.pm
patch
|
blob
|
history
diff --git
a/C4/ILSDI/Services.pm
b/C4/ILSDI/Services.pm
index
ed8916b
..
a40df62
100644
(file)
--- a/
C4/ILSDI/Services.pm
+++ b/
C4/ILSDI/Services.pm
@@
-629,7
+629,7
@@
sub HoldTitle {
return $out;
}
} else { # if user provide no branch, use his own
- $branch =
C4::Context->userenv->{'branch
'};
+ $branch =
$borrower->{'branchcode
'};
}
# Add the reserve
@@
-718,7
+718,7
@@
sub HoldItem {
return $out;
}
} else { # if user provide no branch, use his own
- $branch =
C4::Context->userenv->{'branch
'};
+ $branch =
$borrower->{'branchcode
'};
}
my $rank;