[Koha-cvs] CVS: koha/opac opac-detail.pl,1.14.2.8,1.14.2.9

Paul POULAIN tipaul at users.sourceforge.net
Wed Sep 14 16:27:50 CEST 2005


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

Modified Files:
      Tag: rel_2_2
	opac-detail.pl 
Log Message:
* removing warn
* extending notforloan checking to itemtype notforloan field

Index: opac-detail.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.14.2.8
retrieving revision 1.14.2.9
diff -C2 -r1.14.2.8 -r1.14.2.9
*** opac-detail.pl	5 Sep 2005 16:17:37 -0000	1.14.2.8
--- opac-detail.pl	14 Sep 2005 14:27:48 -0000	1.14.2.9
***************
*** 36,40 ****
   my @subs;
   foreach my $subscription (@subscriptions){
-  	warn "subsid :".$subscription->{subscriptionid};
   	my %cell;
   	$cell{subscriptionid}= $subscription->{subscriptionid};
--- 36,39 ----
***************
*** 54,58 ****
  my $norequests = 1;
  foreach my $itm (@items) {
!     $norequests = 0 unless (($itm->{'wthdrawn'}) || ($itm->{'itemlost'}) || ($itm->{'itemnotforloan'}) ||(!$itm->{'itemnumber'}));
      $itm->{$itm->{'publictype'}} = 1;
  }
--- 53,57 ----
  my $norequests = 1;
  foreach my $itm (@items) {
!     $norequests = 0 unless (($itm->{'wthdrawn'}) || ($itm->{'itemlost'}) || ($itm->{'notforloan'})|| ($itm->{'itemnotforloan'}) ||(!$itm->{'itemnumber'}));
      $itm->{$itm->{'publictype'}} = 1;
  }





More information about the Koha-cvs mailing list