{"action":"created","comment":{"url":"https://api.github.com/repos/piwik/piwik/pulls/comments/29187908","id":29187908,"diff_hunk":"@@ -0,0 +1,47 @@\n+<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n+<result>\n+\t<row>\n+\t\t<label>/homepage</label>\n+\t\t<nb_visits>2</nb_visits>\n+\t\t<nb_hits>2</nb_hits>\n+\t\t<sum_time_spent>360</sum_time_spent>\n+\t\t<entry_nb_visits>1</entry_nb_visits>\n+\t\t<entry_nb_actions>3</entry_nb_actions>\n+\t\t<entry_sum_visit_length>364</entry_sum_visit_length>\n+\t\t<entry_bounce_count>0</entry_bounce_count>\n+\t\t<exit_nb_visits>1</exit_nb_visits>\n+\t\t<sum_daily_nb_uniq_visitors>2</sum_daily_nb_uniq_visitors>\n+\t\t<sum_daily_entry_nb_uniq_visitors>1</sum_daily_entry_nb_uniq_visitors>\n+\t\t<sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors>\n+\t\t<avg_time_on_page>180</avg_time_on_page>\n+\t\t<bounce_rate>0%</bounce_rate>\n+\t\t<exit_rate>50%</exit_rate>\n+\t\t<url>http://example.org/homepage</url>\n+\t\t<segment>pageUrl==http%3A%2F%2Fexample.org%2Fhomepage</segment>\n+\t</row>\n+\t<row>\n+\t\t<label>user</label>\n+\t\t<nb_visits>1</nb_visits>\n+\t\t<nb_hits>2</nb_hits>\n+\t\t<sum_time_spent>0</sum_time_spent>\n+\t\t<exit_nb_visits>1</exit_nb_visits>\n+\t\t<avg_time_on_page>0</avg_time_on_page>\n+\t\t<bounce_rate>0%</bounce_rate>\n+\t\t<exit_rate>100%</exit_rate>\n+\t\t<subtable>\n+\t\t\t<row>\n+\t\t\t\t<label>/profile</label>\n+\t\t\t\t<nb_visits>1</nb_visits>\n+\t\t\t\t<nb_hits>2</nb_hits>\n+\t\t\t\t<sum_time_spent>0</sum_time_spent>\n+\t\t\t\t<exit_nb_visits>1</exit_nb_visits>\n+\t\t\t\t<sum_daily_nb_uniq_visitors>1</sum_daily_nb_uniq_visitors>\n+\t\t\t\t<sum_daily_exit_nb_uniq_visitors>1</sum_daily_exit_nb_uniq_visitors>\n+\t\t\t\t<avg_time_on_page>0</avg_time_on_page>\n+\t\t\t\t<bounce_rate>0%</bounce_rate>\n+\t\t\t\t<exit_rate>100%</exit_rate>\n+\t\t\t\t<url>http://example.org/user/profile</url>","path":"tests/PHPUnit/System/expected/test_periodIsRange_dateIsLastN_MetadataAndNormalAPI_pagesegment__Actions.getPageUrls_range.xml","position":43,"original_position":43,"commit_id":"232bbf385495960cbf8bec95f0230d5f6578a1fb","original_commit_id":"232bbf385495960cbf8bec95f0230d5f6578a1fb","user":{"login":"tsteur","id":273120,"avatar_url":"https://avatars.githubusercontent.com/u/273120?v=3","gravatar_id":"","url":"https://api.github.com/users/tsteur","html_url":"https://github.com/tsteur","followers_url":"https://api.github.com/users/tsteur/followers","following_url":"https://api.github.com/users/tsteur/following{/other_user}","gists_url":"https://api.github.com/users/tsteur/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteur/subscriptions","organizations_url":"https://api.github.com/users/tsteur/orgs","repos_url":"https://api.github.com/users/tsteur/repos","events_url":"https://api.github.com/users/tsteur/events{/privacy}","received_events_url":"https://api.github.com/users/tsteur/received_events","type":"User","site_admin":false},"body":"I think we don't do it for expanded subtables as the UI, when expanding, would request the subtable separately and then it is present. Setting segment on a subtable on any other report wouldn't work (as we'd have to fetch parents etc) so we do not do it here either ","created_at":"2015-04-27T20:34:14Z","updated_at":"2015-04-27T20:34:14Z","html_url":"https://github.com/piwik/piwik/pull/7751#discussion_r29187908","pull_request_url":"https://api.github.com/repos/piwik/piwik/pulls/7751","_links":{"self":{"href":"https://api.github.com/repos/piwik/piwik/pulls/comments/29187908"},"html":{"href":"https://github.com/piwik/piwik/pull/7751#discussion_r29187908"},"pull_request":{"href":"https://api.github.com/repos/piwik/piwik/pulls/7751"}}},"pull_request":{"url":"https://api.github.com/repos/piwik/piwik/pulls/7751","id":33920987,"html_url":"https://github.com/piwik/piwik/pull/7751","diff_url":"https://github.com/piwik/piwik/pull/7751.diff","patch_url":"https://github.com/piwik/piwik/pull/7751.patch","issue_url":"https://api.github.com/repos/piwik/piwik/issues/7751","number":7751,"state":"closed","locked":false,"title":"Archiving of aggregated ecommerce metrics","user":{"login":"tsteur","id":273120,"avatar_url":"https://avatars.githubusercontent.com/u/273120?v=3","gravatar_id":"","url":"https://api.github.com/users/tsteur","html_url":"https://github.com/tsteur","followers_url":"https://api.github.com/users/tsteur/followers","following_url":"https://api.github.com/users/tsteur/following{/other_user}","gists_url":"https://api.github.com/users/tsteur/gists{/gist_id}","starred_url":"https://api.github.com/users/tsteur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsteur/subscriptions","organizations_url":"https://api.github.com/users/tsteur/orgs","repos_url":"https://api.github.com/users/tsteur/repos","events_url":"https://api.github.com/users/tsteur/events{/privacy}","received_events_url":"https://api.github.com/users/tsteur/received_events","type":"User","site_admin":false},"body":"fixes #6986\r\n\r\n","created_at":"2015-04-23T03:14:24Z","updated_at":"2015-04-27T20:34:14Z","closed_at":"2015-04-24T03:40:25Z","merged_at":"2015-04-24T03:40:25Z","merge_commit_sha":"d3f1a51f8c6784ad801fc16c374e52e9de355b5c","assignee":null,"milestone":{"url":"https://api.github.com/repos/piwik/piwik/milestones/76","html_url":"https://github.com/piwik/piwik/milestones/Piwik%202.13.0","labels_url":"https://api.github.com/repos/piwik/piwik/milestones/76/labels","id":969583,"number":76,"title":"Piwik 2.13.0","description":"Pool of tickets we pick issues to work on. This release may include DB schema upgrades.\r\n","creator":{"login":"mattab","id":466765,"avatar_url":"https://avatars.githubusercontent.com/u/466765?v=3","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":135,"state":"open","created_at":"2015-02-07T01:34:22Z","updated_at":"2015-04-27T20:29:53Z","due_on":"2015-04-28T12:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/piwik/piwik/pulls/7751/commits","review_comments_url":"https://api.github.com/repos/piwik/piwik/pulls/7751/comments","review_comment_url":"https://api.github.com/repos/piwik/piwik/pulls/comments{/number}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/7751/comments","statuses_url":"https://api.github.com/repos/piwik/piwik/statuses/232bbf385495960cbf8bec95f0230d5f6578a1fb","head":{"label":"piwik:6986","ref":"6986","sha":"232bbf385495960cbf8bec95f0230d5f6578a1fb","user":{"login":"piwik","id":698038,"avatar_url":"https://avatars.githubusercontent.com/u/698038?v=3","gravatar_id":"","url":"https://api.github.com/users/piwik","html_url":"https://github.com/piwik","followers_url":"https://api.github.com/users/piwik/followers","following_url":"https://api.github.com/users/piwik/following{/other_user}","gists_url":"https://api.github.com/users/piwik/gists{/gist_id}","starred_url":"https://api.github.com/users/piwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piwik/subscriptions","organizations_url":"https://api.github.com/users/piwik/orgs","repos_url":"https://api.github.com/users/piwik/repos","events_url":"https://api.github.com/users/piwik/events{/privacy}","received_events_url":"https://api.github.com/users/piwik/received_events","type":"Organization","site_admin":false},"repo":{"id":1548202,"name":"piwik","full_name":"piwik/piwik","owner":{"login":"piwik","id":698038,"avatar_url":"https://avatars.githubusercontent.com/u/698038?v=3","gravatar_id":"","url":"https://api.github.com/users/piwik","html_url":"https://github.com/piwik","followers_url":"https://api.github.com/users/piwik/followers","following_url":"https://api.github.com/users/piwik/following{/other_user}","gists_url":"https://api.github.com/users/piwik/gists{/gist_id}","starred_url":"https://api.github.com/users/piwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piwik/subscriptions","organizations_url":"https://api.github.com/users/piwik/orgs","repos_url":"https://api.github.com/users/piwik/repos","events_url":"https://api.github.com/users/piwik/events{/privacy}","received_events_url":"https://api.github.com/users/piwik/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/piwik/piwik","description":"Liberating Web Analytics. Star us on Github? +1. Piwik is the leading open alternative to Google Analytics that gives you full control over your data. Piwik lets you easily collect data from websites, apps & IoT and visualise this data and extract insights. Privacy is built-in. We love Pull Requests! ","fork":false,"url":"https://api.github.com/repos/piwik/piwik","forks_url":"https://api.github.com/repos/piwik/piwik/forks","keys_url":"https://api.github.com/repos/piwik/piwik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/piwik/piwik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/piwik/piwik/teams","hooks_url":"https://api.github.com/repos/piwik/piwik/hooks","issue_events_url":"https://api.github.com/repos/piwik/piwik/issues/events{/number}","events_url":"https://api.github.com/repos/piwik/piwik/events","assignees_url":"https://api.github.com/repos/piwik/piwik/assignees{/user}","branches_url":"https://api.github.com/repos/piwik/piwik/branches{/branch}","tags_url":"https://api.github.com/repos/piwik/piwik/tags","blobs_url":"https://api.github.com/repos/piwik/piwik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/piwik/piwik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/piwik/piwik/git/refs{/sha}","trees_url":"https://api.github.com/repos/piwik/piwik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/piwik/piwik/statuses/{sha}","languages_url":"https://api.github.com/repos/piwik/piwik/languages","stargazers_url":"https://api.github.com/repos/piwik/piwik/stargazers","contributors_url":"https://api.github.com/repos/piwik/piwik/contributors","subscribers_url":"https://api.github.com/repos/piwik/piwik/subscribers","subscription_url":"https://api.github.com/repos/piwik/piwik/subscription","commits_url":"https://api.github.com/repos/piwik/piwik/commits{/sha}","git_commits_url":"https://api.github.com/repos/piwik/piwik/git/commits{/sha}","comments_url":"https://api.github.com/repos/piwik/piwik/comments{/number}","issue_comment_url":"https://api.github.com/repos/piwik/piwik/issues/comments{/number}","contents_url":"https://api.github.com/repos/piwik/piwik/contents/{+path}","compare_url":"https://api.github.com/repos/piwik/piwik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/piwik/piwik/merges","archive_url":"https://api.github.com/repos/piwik/piwik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/piwik/piwik/downloads","issues_url":"https://api.github.com/repos/piwik/piwik/issues{/number}","pulls_url":"https://api.github.com/repos/piwik/piwik/pulls{/number}","milestones_url":"https://api.github.com/repos/piwik/piwik/milestones{/number}","notifications_url":"https://api.github.com/repos/piwik/piwik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/piwik/piwik/labels{/name}","releases_url":"https://api.github.com/repos/piwik/piwik/releases{/id}","created_at":"2011-03-30T21:18:17Z","updated_at":"2015-04-27T20:24:38Z","pushed_at":"2015-04-27T20:24:37Z","git_url":"git://github.com/piwik/piwik.git","ssh_url":"git@github.com:piwik/piwik.git","clone_url":"https://github.com/piwik/piwik.git","svn_url":"https://github.com/piwik/piwik","homepage":"http://piwik.org/","size":288614,"stargazers_count":3757,"watchers_count":3757,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":684,"mirror_url":null,"open_issues_count":956,"forks":684,"open_issues":956,"watchers":3757,"default_branch":"master"}},"base":{"label":"piwik:master","ref":"master","sha":"d8931227e2744b7d04494117d8d6d860cdf7e330","user":{"login":"piwik","id":698038,"avatar_url":"https://avatars.githubusercontent.com/u/698038?v=3","gravatar_id":"","url":"https://api.github.com/users/piwik","html_url":"https://github.com/piwik","followers_url":"https://api.github.com/users/piwik/followers","following_url":"https://api.github.com/users/piwik/following{/other_user}","gists_url":"https://api.github.com/users/piwik/gists{/gist_id}","starred_url":"https://api.github.com/users/piwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piwik/subscriptions","organizations_url":"https://api.github.com/users/piwik/orgs","repos_url":"https://api.github.com/users/piwik/repos","events_url":"https://api.github.com/users/piwik/events{/privacy}","received_events_url":"https://api.github.com/users/piwik/received_events","type":"Organization","site_admin":false},"repo":{"id":1548202,"name":"piwik","full_name":"piwik/piwik","owner":{"login":"piwik","id":698038,"avatar_url":"https://avatars.githubusercontent.com/u/698038?v=3","gravatar_id":"","url":"https://api.github.com/users/piwik","html_url":"https://github.com/piwik","followers_url":"https://api.github.com/users/piwik/followers","following_url":"https://api.github.com/users/piwik/following{/other_user}","gists_url":"https://api.github.com/users/piwik/gists{/gist_id}","starred_url":"https://api.github.com/users/piwik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piwik/subscriptions","organizations_url":"https://api.github.com/users/piwik/orgs","repos_url":"https://api.github.com/users/piwik/repos","events_url":"https://api.github.com/users/piwik/events{/privacy}","received_events_url":"https://api.github.com/users/piwik/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/piwik/piwik","description":"Liberating Web Analytics. Star us on Github? +1. Piwik is the leading open alternative to Google Analytics that gives you full control over your data. Piwik lets you easily collect data from websites, apps & IoT and visualise this data and extract insights. Privacy is built-in. We love Pull Requests! ","fork":false,"url":"https://api.github.com/repos/piwik/piwik","forks_url":"https://api.github.com/repos/piwik/piwik/forks","keys_url":"https://api.github.com/repos/piwik/piwik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/piwik/piwik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/piwik/piwik/teams","hooks_url":"https://api.github.com/repos/piwik/piwik/hooks","issue_events_url":"https://api.github.com/repos/piwik/piwik/issues/events{/number}","events_url":"https://api.github.com/repos/piwik/piwik/events","assignees_url":"https://api.github.com/repos/piwik/piwik/assignees{/user}","branches_url":"https://api.github.com/repos/piwik/piwik/branches{/branch}","tags_url":"https://api.github.com/repos/piwik/piwik/tags","blobs_url":"https://api.github.com/repos/piwik/piwik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/piwik/piwik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/piwik/piwik/git/refs{/sha}","trees_url":"https://api.github.com/repos/piwik/piwik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/piwik/piwik/statuses/{sha}","languages_url":"https://api.github.com/repos/piwik/piwik/languages","stargazers_url":"https://api.github.com/repos/piwik/piwik/stargazers","contributors_url":"https://api.github.com/repos/piwik/piwik/contributors","subscribers_url":"https://api.github.com/repos/piwik/piwik/subscribers","subscription_url":"https://api.github.com/repos/piwik/piwik/subscription","commits_url":"https://api.github.com/repos/piwik/piwik/commits{/sha}","git_commits_url":"https://api.github.com/repos/piwik/piwik/git/commits{/sha}","comments_url":"https://api.github.com/repos/piwik/piwik/comments{/number}","issue_comment_url":"https://api.github.com/repos/piwik/piwik/issues/comments{/number}","contents_url":"https://api.github.com/repos/piwik/piwik/contents/{+path}","compare_url":"https://api.github.com/repos/piwik/piwik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/piwik/piwik/merges","archive_url":"https://api.github.com/repos/piwik/piwik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/piwik/piwik/downloads","issues_url":"https://api.github.com/repos/piwik/piwik/issues{/number}","pulls_url":"https://api.github.com/repos/piwik/piwik/pulls{/number}","milestones_url":"https://api.github.com/repos/piwik/piwik/milestones{/number}","notifications_url":"https://api.github.com/repos/piwik/piwik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/piwik/piwik/labels{/name}","releases_url":"https://api.github.com/repos/piwik/piwik/releases{/id}","created_at":"2011-03-30T21:18:17Z","updated_at":"2015-04-27T20:24:38Z","pushed_at":"2015-04-27T20:24:37Z","git_url":"git://github.com/piwik/piwik.git","ssh_url":"git@github.com:piwik/piwik.git","clone_url":"https://github.com/piwik/piwik.git","svn_url":"https://github.com/piwik/piwik","homepage":"http://piwik.org/","size":288614,"stargazers_count":3757,"watchers_count":3757,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":684,"mirror_url":null,"open_issues_count":956,"forks":684,"open_issues":956,"watchers":3757,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/piwik/piwik/pulls/7751"},"html":{"href":"https://github.com/piwik/piwik/pull/7751"},"issue":{"href":"https://api.github.com/repos/piwik/piwik/issues/7751"},"comments":{"href":"https://api.github.com/repos/piwik/piwik/issues/7751/comments"},"review_comments":{"href":"https://api.github.com/repos/piwik/piwik/pulls/7751/comments"},"review_comment":{"href":"https://api.github.com/repos/piwik/piwik/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/piwik/piwik/pulls/7751/commits"},"statuses":{"href":"https://api.github.com/repos/piwik/piwik/statuses/232bbf385495960cbf8bec95f0230d5f6578a1fb"}}}}