[Top][All Lists]
[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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/C4 Search.pm,1.18.2.25,1.18.2.26,
Chris Cormack <=
- Prev by Date:
[Koha-cvs] CVS: koha/C4 Acquisitions.pm,1.5.2.16,1.5.2.17 Biblio.pm,1.1.2.5,1.1.2.6
- Next by Date:
[Koha-cvs] CVS: koha/t/webscripts catalog.t,1.1.2.5,1.1.2.6
- Previous by thread:
[Koha-cvs] CVS: koha/C4 Acquisitions.pm,1.5.2.16,1.5.2.17 Biblio.pm,1.1.2.5,1.1.2.6
- Next by thread:
[Koha-cvs] CVS: koha/t/webscripts catalog.t,1.1.2.5,1.1.2.6
- Index(es):