projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af49cab
)
make status contingent upon all status fields in Koha including itemtype
author
joshferraro
<joshferraro>
Tue, 6 Sep 2005 12:28:08 +0000
(12:28 +0000)
committer
joshferraro
<joshferraro>
Tue, 6 Sep 2005 12:28:08 +0000
(12:28 +0000)
opac/opac-detail.pl
patch
|
blob
|
history
diff --git
a/opac/opac-detail.pl
b/opac/opac-detail.pl
index
9dc6c0b
..
ccafafe
100755
(executable)
--- a/
opac/opac-detail.pl
+++ b/
opac/opac-detail.pl
@@
-69,7
+69,7
@@
for (my $i = 1; $i < $authorcount; $i++) {
my $norequests = 1;
foreach my $itm (@items) {
- $norequests = 0 unless
$itm->{'notforloan'}
;
+ $norequests = 0 unless
(($itm->{'wthdrawn'}) || ($itm->{'itemlost'}) || ($itm->{'notforloan'}) || ($itm->{'itemnotforloan'}) || (!$itm->{'itemnumber'}))
;
$itm->{$itm->{'publictype'}} = 1;
}