Skip to content
Extraits de code Groupes Projets
Valider 33d943b9 rédigé par benakamoorthi's avatar benakamoorthi
Parcourir les fichiers

Refs #2742, add idSubtable parameter to imageGraphUrl if it is present in the url.

git-svn-id: http://dev.piwik.org/svn/trunk@6872 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent accd522b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -128,6 +128,13 @@ class Piwik_ImageGraph extends Piwik_Plugin ...@@ -128,6 +128,13 @@ class Piwik_ImageGraph extends Piwik_Plugin
$parameters['date'] = $dateForSinglePeriodGraph; $parameters['date'] = $dateForSinglePeriodGraph;
} }
// add the idSubtable if it exists
$idSubtable = Piwik_Common::getRequestVar('idSubtable', false);
if ($idSubtable !== false)
{
$parameters['idSubtable'] = $idSubtable;
}
$report['imageGraphUrl'] = $urlPrefix . Piwik_Url::getQueryStringFromParameters($parameters); $report['imageGraphUrl'] = $urlPrefix . Piwik_Url::getQueryStringFromParameters($parameters);
} }
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</metricsDocumentation> </metricsDocumentation>
<documentation>This report contains information about the page URLs that have been visited. &lt;br /&gt; The table is organized hierarchically, the URLs are displayed as a folder structure.&lt;br /&gt;Use the plus and minus icons on the left to navigate.</documentation> <documentation>This report contains information about the page URLs that have been visited. &lt;br /&gt; The table is organized hierarchically, the URLs are displayed as a folder structure.&lt;br /&gt;Use the plus and minus icons on the left to navigate.</documentation>
<actionToLoadSubTables>getPageUrls</actionToLoadSubTables> <actionToLoadSubTables>getPageUrls</actionToLoadSubTables>
<imageGraphUrl>index.php?module=API&amp;method=ImageGraph.get&amp;idSite=1&amp;apiModule=Actions&amp;apiAction=getPageUrls&amp;period=week&amp;date=2010-03-06</imageGraphUrl> <imageGraphUrl>index.php?module=API&amp;method=ImageGraph.get&amp;idSite=1&amp;apiModule=Actions&amp;apiAction=getPageUrls&amp;period=week&amp;date=2010-03-06&amp;idSubtable=1650</imageGraphUrl>
<uniqueId>Actions_getPageUrls</uniqueId> <uniqueId>Actions_getPageUrls</uniqueId>
</metadata> </metadata>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<exit_rate>The percentage of visits that left the website after viewing this page.</exit_rate> <exit_rate>The percentage of visits that left the website after viewing this page.</exit_rate>
</metricsDocumentation> </metricsDocumentation>
<imageGraphUrl>index.php?module=API&amp;method=ImageGraph.get&amp;idSite=1&amp;apiModule=CustomVariables&amp;apiAction=getCustomVariablesValuesFromNameId&amp;period=day&amp;date=2010-01-03</imageGraphUrl> <imageGraphUrl>index.php?module=API&amp;method=ImageGraph.get&amp;idSite=1&amp;apiModule=CustomVariables&amp;apiAction=getCustomVariablesValuesFromNameId&amp;period=day&amp;date=2010-01-03&amp;idSubtable=8</imageGraphUrl>
<uniqueId>CustomVariables_getCustomVariablesValuesFromNameId</uniqueId> <uniqueId>CustomVariables_getCustomVariablesValuesFromNameId</uniqueId>
</metadata> </metadata>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter