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

Month data is not equals to sum daily data #11574

Closed
Shengzhi-Wang opened this issue Apr 1, 2017 · 2 comments
Closed

Month data is not equals to sum daily data #11574

Shengzhi-Wang opened this issue Apr 1, 2017 · 2 comments
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@Shengzhi-Wang
Copy link

Hi,
I find an issue month result is not equals to sum of daily data.
For example:
When I call Live.getLastVisitsDetails API by month like March 2017

I get the data from http request like :
index.php?module=API&method=Live.getLastVisitsDetails&idSite=1&period=month&date=2017-03-01&format=xml
I can get 14 rows.

But when I sum the daily data :
index.php?module=API&method=Live.getLastVisitsDetails&idSite=1&period=day&date=2017-03-01&format=xml
index.php?module=API&method=Live.getLastVisitsDetails&idSite=1&period=day&date=2017-03-02&format=xml
.....
index.php?module=API&method=Live.getLastVisitsDetails&idSite=1&period=day&date=2017-03-31&format=xml
It's more than 14 rows.

Can you check this for me?
Thanks,

@xiaotaozi1127
Copy link

i know this issue is not a real issue. when call month API, we forgot add filter_limit parameter, so it only return default items. you can close this issue.

Thanks,

@tsteur
Copy link
Member

tsteur commented Apr 3, 2017

Thanks for letting us know

@tsteur tsteur closed this as completed Apr 3, 2017
@tsteur tsteur added the worksforme The issue cannot be reproduced and things work as intended. label Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants