[Koha-cvs] CVS: koha/C4 Search.pm,1.25,1.26
Steve Tonnesen
tonnesen at users.sourceforge.net
Tue May 14 01:07:49 CEST 2002
- Previous message: [Koha-cvs] CVS: koha/html-template cmsd.tmpl,NONE,1.1 default.tmpl,NONE,1.1 cmsdsearchresults.tmpl,1.5,1.6 search.pl,1.8,1.9 searchresults.tmpl,1.7,1.8
- Next message: [Koha-cvs] CVS: koha/html-template default.tmpl,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv5450
Modified Files:
Search.pm
Log Message:
Calculate itemcount in Search.pm if using new template based search interface
Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** Search.pm 12 May 2002 18:08:19 -0000 1.25
--- Search.pm 13 May 2002 23:07:47 -0000 1.26
***************
*** 288,291 ****
--- 288,295 ----
$sth->finish;
$data2->{'dewey'}=$dewey;
+ if ($env->{itemcount}) {
+ my ($count, $lcount, $nacount, $fcount, $scount, $lostcount, $mending, $transit, $ocount) = itemcount($env, $data2->{'biblionumber'}, 'intra');
+ $data2->{'itemcount'}=$count;
+ }
$res2[$i]=$data2;
# $res2[$i]="$data2->{'author'}\t$data2->{'title'}\t$data2->{'biblionumber'}\t$data2->{'copyrightdate'}\t$dewey";
- Previous message: [Koha-cvs] CVS: koha/html-template cmsd.tmpl,NONE,1.1 default.tmpl,NONE,1.1 cmsdsearchresults.tmpl,1.5,1.6 search.pl,1.8,1.9 searchresults.tmpl,1.7,1.8
- Next message: [Koha-cvs] CVS: koha/html-template default.tmpl,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Koha-cvs
mailing list