Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with API method Live.getLastVisitDetails and filter_offset #4044

Closed
tsteur opened this issue Jul 10, 2013 · 2 comments
Closed

Problem with API method Live.getLastVisitDetails and filter_offset #4044

tsteur opened this issue Jul 10, 2013 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@tsteur
Copy link
Member

tsteur commented Jul 10, 2013

When executing this request I'm getting visitors from 23:50 - 22:50o'clock.

http://demo.piwik.org/index.php?filter_limit=15&period=day&date=2012-07-08&idSite=7&module=API&token_auth=anonymous&format=json&method=Live.getLastVisitsDetails&language=en&

When executing a follow up request to fetch the previous visitors I'm getting visitors from 22:00 - 20:45o'clock

http://demo.piwik.org/index.php?filter_limit=45&filter_offset=15&period=day&date=2012-07-08&idSite=7&module=API&token_auth=anonymous&format=json&method=Live.getLastVisitsDetails&language=en&

When executing another follow up request to fetch the previous visitors I'm getting visitors from 19:35 - 18:00o'clock

http://demo.piwik.org/index.php?filter_limit=75&filter_offset=45&period=day&date=2012-07-08&idSite=7&module=API&token_auth=anonymous&format=json&method=Live.getLastVisitsDetails&language=en&

It looks like I always miss a page or 30-60minutes. Am I doing something wrong? Doesn't look like a coincidence as this happens on all "pages" thoughout all days

At first, I expected when calling filter_offset=45 & filter_limit=30 I will get 30 visitors starting from 45. But this is also not the case.

@tsteur
Copy link
Member Author

tsteur commented Oct 30, 2013

In ba84d89: refs #4044 this could fix the filter_limit and filter_offset is applied twice. Once in Live.getLastVisitDetails and once in ResponseBuilder. Unfortunately, cannot run all tests on my local machine to make sure everything still works.

@tsteur
Copy link
Member Author

tsteur commented Oct 30, 2013

In e8ab9c9: refs #4044 fix visitor profile is not working

@tsteur tsteur added this to the 2.0 - Piwik 2.0 milestone Jul 8, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
…t is applied twice. Once in Live.getLastVisitDetails and once in ResponseBuilder. Unfortunately, cannot run all tests on my local machine to make sure everything still works.
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

1 participant