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

last1 does not work with month and year #5665

Closed
anonymous-matomo-user opened this issue Jun 6, 2008 · 2 comments
Closed

last1 does not work with month and year #5665

anonymous-matomo-user opened this issue Jun 6, 2008 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

last1 works with day and week, but does not work with month and year – it gives last 2 entries, not 1.

Example with week (works correctly):
http://piwik.org/demo/?module=API&method=Referers.getKeywords&idSite=1&period=week&date=last1&format=php&filter_limit=5&prettyDisplay=1

Example with month (works incorrectly):
http://piwik.org/demo/?module=API&method=Referers.getKeywords&idSite=1&period=month&date=last1&format=php&filter_limit=5&prettyDisplay=1

From user point of view I’m asking 1 entry – so there will be only 1 entry – even if we know that month and year are incomplete.
Keywords: last

@mattab
Copy link
Member

mattab commented Jun 30, 2008

(In 540) – fix #5665 last1 does not work with month and year

@mattab
Copy link
Member

mattab commented Jun 30, 2008

(In 541) – refs #5665 new test testing last1 behaviour

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. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants