koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/C4 Search.pm,1.18.2.25,1.18.2.26


From: Chris Cormack
Subject: [Koha-cvs] CVS: koha/C4 Search.pm,1.18.2.25,1.18.2.26
Date: Wed, 15 Jan 2003 14:05:18 -0800

Update of /cvsroot/koha/koha/C4
In directory sc8-pr-cvs1:/tmp/cvs-serv22057a/C4

Modified Files:
      Tag: rel-1-2
        Search.pm 
Log Message:
Fixing the catalogsearch call to itemcount2 removing the hardwired 'intra'
call and passing thru the type. An opac potentially counts items different,
ie at HLT they dont count the lost/cancelled items when presenting results
to the public


Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.18.2.25
retrieving revision 1.18.2.26
diff -C2 -r1.18.2.25 -r1.18.2.26
*** Search.pm   15 Jan 2003 16:45:31 -0000      1.18.2.25
--- Search.pm   15 Jan 2003 22:05:16 -0000      1.18.2.26
***************
*** 203,207 ****
    if ($env->{itemcount}) {
      foreach my $data (@results){
!       my ($counts) = itemcount2($env, $data->{'biblionumber'}, 'intra');
        my $subject2=$data->{'subject'};
        $subject2=~ s/ /%20/g;
--- 203,207 ----
    if ($env->{itemcount}) {
      foreach my $data (@results){
!       my ($counts) = itemcount2($env, $data->{'biblionumber'}, $type);
        my $subject2=$data->{'subject'};
        $subject2=~ s/ /%20/g;




reply via email to

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