visitsSummary bug


#1

Hi, the visitsSummary plugin has a bug where it doesn’t propagate the segment specified in the request to the internal API call. To fix, edit plugins/VisitsSummary/Controller.php and change line 117 (build 1.7.1) to:

$dataTableActions = Piwik_Actions_API::getInstance()->get(Piwik_Common::getRequestVar(‘idSite’), Piwik_Common::getRequestVar(‘period’), Piwik_Common::getRequestVar(‘date’), Piwik_Common::getRequestVar(‘segment’,false));

Cheers,
Owen


(Matthieu Aubry) #2

Thanks. Please create a ticket with a patch and we will fix it in next version