{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/piwik/issues/7816","labels_url":"https://api.github.com/repos/piwik/piwik/issues/7816/labels{/name}","comments_url":"https://api.github.com/repos/piwik/piwik/issues/7816/comments","events_url":"https://api.github.com/repos/piwik/piwik/issues/7816/events","html_url":"https://github.com/piwik/piwik/issues/7816","id":72843251,"number":7816,"title":"javascript site search reports results count from previous search","user":{"login":"kevinb456","id":4441138,"avatar_url":"https://avatars.githubusercontent.com/u/4441138?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinb456","html_url":"https://github.com/kevinb456","followers_url":"https://api.github.com/users/kevinb456/followers","following_url":"https://api.github.com/users/kevinb456/following{/other_user}","gists_url":"https://api.github.com/users/kevinb456/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinb456/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinb456/subscriptions","organizations_url":"https://api.github.com/users/kevinb456/orgs","repos_url":"https://api.github.com/users/kevinb456/repos","events_url":"https://api.github.com/users/kevinb456/events{/privacy}","received_events_url":"https://api.github.com/users/kevinb456/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/piwik/piwik/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/piwik/piwik/milestones/84","html_url":"https://github.com/piwik/piwik/milestones/2.15.0","labels_url":"https://api.github.com/repos/piwik/piwik/milestones/84/labels","id":1202482,"number":84,"title":"2.15.0","description":"","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":59,"closed_issues":23,"state":"open","created_at":"2015-07-10T13:26:16Z","updated_at":"2015-08-07T08:12:12Z","due_on":"2015-08-13T22:00:00Z","closed_at":null},"comments":8,"created_at":"2015-05-03T18:16:27Z","updated_at":"2015-08-07T09:14:15Z","closed_at":null,"body":"I am using Piwik 1.12.1 with opencart 2.0.2 , using the default site search query parameters which Piwik automatically gets the keywords from, then adding the count into the javascript footer as follows (as recommended on piwik documentation);\r\n\r\n`_paq.push(['setCustomUrl', document.URL + '&search_count=x']);`\r\n\r\nwhere x is the count value rendered by PHP for that results page.\r\n\r\nWhen on a search results page for a product, with say 4 results, the javascript source correctly has \"search_count=4\" in it. However when I view the site search in Piwik the results count reported is not 4, but whatever number the **previous** site search had.\r\n\r\nI can't think of anything I'm doing wrong so I'm assuming this is Piwiks bug. Happy to be proven wrong!"},"comment":{"url":"https://api.github.com/repos/piwik/piwik/issues/comments/128649364","html_url":"https://github.com/piwik/piwik/issues/7816#issuecomment-128649364","issue_url":"https://api.github.com/repos/piwik/piwik/issues/7816","id":128649364,"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},"created_at":"2015-08-07T09:14:15Z","updated_at":"2015-08-07T09:14:15Z","body":"FYI: Deleted 2 comments as they belong to a different issue"}}