koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/opac opac-detail.pl,1.24,1.25


From: Joshua Ferraro
Subject: [Koha-cvs] CVS: koha/opac opac-detail.pl,1.24,1.25
Date: Tue, 06 Sep 2005 05:28:10 -0700

Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10186

Modified Files:
        opac-detail.pl 
Log Message:
make status contingent upon all status fields in Koha including itemtype


Index: opac-detail.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** opac-detail.pl      3 Sep 2005 00:10:36 -0000       1.24
--- opac-detail.pl      6 Sep 2005 12:28:08 -0000       1.25
***************
*** 70,74 ****
  my $norequests = 1;
  foreach my $itm (@items) {
!     $norequests = 0 unless $itm->{'notforloan'};
      $itm->{$itm->{'publictype'}} = 1;
  }
--- 70,74 ----
  my $norequests = 1;
  foreach my $itm (@items) {
!     $norequests = 0 unless (($itm->{'wthdrawn'}) || ($itm->{'itemlost'}) || 
($itm->{'notforloan'}) || ($itm->{'itemnotforloan'}) || 
(!$itm->{'itemnumber'}));
      $itm->{$itm->{'publictype'}} = 1;
  }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]