[ phpopencounter-Bugs-835212 ] Bug in API returning_visitor.php / _numReturningVisitors

"SourceForge.net" <[email protected]> Mon, 03 Nov 2003 11:03:36 -0800
Newsgroups gmane.comp.web.phpopentracker.devel
Message-ID <[email protected]>
Bugs item #835212, was opened at 2003-11-03 20:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101716&aid=835212&group_id=1716

Category: Analysis Module
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Siedler (siedi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug in API returning_visitor.php / _numReturningVisitors

Initial Comment:
In the function _numReturningVisitors the sql-statement counts 
the returning visitors. But it counts the visits and not visitors. I 
think the sql-statement has to be modified like this (add the 
distinct-keyword): 
 
"select count(DISTINCT(visitors.visitor_id)) AS returning_visitors" 
 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=101716&aid=835212&group_id=1716


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/