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

Paul POULAIN tipaul at users.sourceforge.net
Mon Sep 5 18:17:39 CEST 2005


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

Modified Files:
      Tag: rel_2_2
	opac-detail.pl 
Log Message:
fix to remove "request" button if there is no item requestable

Index: opac-detail.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.14.2.7
retrieving revision 1.14.2.8
diff -C2 -r1.14.2.7 -r1.14.2.8
*** opac-detail.pl	10 Aug 2005 17:37:58 -0000	1.14.2.7
--- opac-detail.pl	5 Sep 2005 16:17:37 -0000	1.14.2.8
***************
*** 54,58 ****
  my $norequests = 1;
  foreach my $itm (@items) {
!     $norequests = 0 unless (($itm->{'wthdrawn'}) || ($itm->{'itemlost'}) ||(!$itm->{'itemnumber'}));
      $itm->{$itm->{'publictype'}} = 1;
  }
--- 54,58 ----
  my $norequests = 1;
  foreach my $itm (@items) {
!     $norequests = 0 unless (($itm->{'wthdrawn'}) || ($itm->{'itemlost'}) || ($itm->{'itemnotforloan'}) ||(!$itm->{'itemnumber'}));
      $itm->{$itm->{'publictype'}} = 1;
  }





More information about the Koha-cvs mailing list