projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2450444
)
bug 2341: OPAC title-level holds permitted when items are on-order
author
Galen Charlton
<galen.charlton@liblime.com>
Thu, 14 Aug 2008 16:48:41 +0000
(11:48 -0500)
committer
Galen Charlton
<galen.charlton@liblime.com>
Mon, 18 Aug 2008 12:15:32 +0000
(07:15 -0500)
Changed so that the presence of an on-order item (items.notforloan =- -1)
permits a title-level hold request to be made. Prior to this patch,
if all of the items linked to the bib were on-order, no title-level
request was permitted.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
opac/opac-reserve.pl
patch
|
blob
|
history
diff --git
a/opac/opac-reserve.pl
b/opac/opac-reserve.pl
index
30342a1
..
0443ad9
100755
(executable)
--- a/
opac/opac-reserve.pl
+++ b/
opac/opac-reserve.pl
@@
-189,7
+189,7
@@
foreach my $itm (@items) {
}
}
$itemhash{$itm->{'itemnumber'}}=$itm;
- if (!$itm->{'notforloan'} && !
$itm->{'itemnotforloan'}
){
+ if (!$itm->{'notforloan'} && !
($itm->{'itemnotforloan'} > 0)
){
$forloan=1;
}
}