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.14.2.6,1.14.2.7


From: Joshua Ferraro
Subject: [Koha-cvs] CVS: koha/opac opac-detail.pl,1.14.2.6,1.14.2.7
Date: Wed, 10 Aug 2005 10:38:00 -0700

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

Modified Files:
      Tag: rel_2_2
        opac-detail.pl 
Log Message:
reserve button wasn't showing up on the OPAC detail screen. Fixes
that problem. But note that the code is still problematic because
there doesn't seem to be a clear consistant method for determining
whether an item is notforloan in koha (especially since notforloan
is often mapped to status).


Index: opac-detail.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.14.2.6
retrieving revision 1.14.2.7
diff -C2 -r1.14.2.6 -r1.14.2.7
*** opac-detail.pl      26 Jul 2005 08:38:27 -0000      1.14.2.6
--- opac-detail.pl      10 Aug 2005 17:37:58 -0000      1.14.2.7
***************
*** 54,58 ****
  my $norequests = 1;
  foreach my $itm (@items) {
!     $norequests = 0 unless $itm->{'notforloan'};
      $itm->{$itm->{'publictype'}} = 1;
  }
--- 54,58 ----
  my $norequests = 1;
  foreach my $itm (@items) {
!     $norequests = 0 unless (($itm->{'wthdrawn'}) || ($itm->{'itemlost'}) 
||(!$itm->{'itemnumber'}));
      $itm->{$itm->{'publictype'}} = 1;
  }




reply via email to

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