@julienmoumne opened this Issue on September 6th 2012 Member

On Piwik Demo, Actions.getEntryPageTitles returns data for label Piwik Forums:

<row>
  <label> Piwik Forums</label>
  <nb_visits>117</nb_visits>
  [..]

Corresponding row evolution does not return data :

[...]
  <result date="2012-08-20"/>
  <result date="2012-08-21"/>
  <result date="2012-08-22"/>
  <result date="2012-08-23"/>
  <result date="2012-08-24"/>
  <result date="2012-08-25"/>
  <result date="2012-08-26"/>
  <result date="2012-08-27"/>
  <result date="2012-08-28"/>
  <result date="2012-08-29"/>
[...]
@mattab commented on September 6th 2012 Member

Thanks for the report

@mattab commented on September 8th 2012 Member
@diosmosis commented on April 18th 2013 Member

In 98658d02b90f18a29ea62a1a11ca67866237240f: Fixes #3361, make sure row evolution works for get[Entry/Exit]PageTitles by adding correct label variation for those reports.

@diosmosis commented on April 18th 2013 Member

@matt, there is no bug, the second URL is incorrect:

  • The date should not be 'today' but a date range including 2012-09-01.
  • The label uses a '>'. In order to differentiate it from just a '>' in the label, each individual label needs to be encoded again (so, urlencode(urlencode($toplevel).'>'.urlencode($nextlevel)) ).

Here is a correct URL that shows data:

http://demo.piwik.org/index.php?module=API&method=ImageGraph.get&idSite=7&apiModule=Actions&apiAction=getDownloads&token_auth=anonymous&graphType=evolution&period=month&date=2012-01-01,2012-12-01&width=500&height=250&label=forum.piwik.org%3E%252Ffile.php%253F5%252Cfile%253D276%252Cfilename%253Dpiwik-report-export_1_.pdf

@mattab commented on April 20th 2013 Member

Awesome, nice find & fix! :)

This Issue was closed on April 20th 2013
Powered by GitHub Issue Mirror