[interchange-cvs] interchange - heins modified
code/UI_Tag/traffic_report.coretag
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Sat Jan 3 14:34:11 EST 2004
User: heins
Date: 2004-01-03 19:34:11 GMT
Modified: code/UI_Tag traffic_report.coretag
Log:
* Fix bug where affiliate reports don't filter based on that.
* Make reports with no specified end_date work.
* Will be merged back to stable.
Revision Changes Path
1.3 +2 -1 interchange/code/UI_Tag/traffic_report.coretag
rev 1.3, prev_rev 1.2
Index: traffic_report.coretag
===================================================================
RCS file: /var/cvs/interchange/code/UI_Tag/traffic_report.coretag,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- traffic_report.coretag 7 Dec 2003 01:41:54 -0000 1.2
+++ traffic_report.coretag 3 Jan 2004 19:34:11 -0000 1.3
@@ -101,7 +101,7 @@
$prev = $_[0];
return;
}
- if ($_[0] gt $end_date) {
+ if ($end_date and $_[0] gt $end_date) {
$done = 1;
return 1;
}
@@ -172,6 +172,7 @@
$recall = $_;
last COUNT;
};
+ next if $affiliate and $line->[5] ne $affiliate;
my $update_visit;
my $interval;
$hits++;
More information about the interchange-cvs
mailing list