Ticket #245 (closed Bug: fixed)

Opened 3 months ago

Last modified 2 months ago

last1 does not work with month and year

Reported by: meglio Assigned to:
Priority: major Milestone: RobotRock
Component: Core Version:
Keywords: last Cc:

Description

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.

Change History

06/30/08 00:44:14 changed by matt

  • status changed from new to closed.
  • resolution set to fixed.

(In [540]) - fix #245 last1 does not work with month and year

06/30/08 00:44:42 changed by matt

(In [541]) - refs #245 new test testing last1 behaviour

06/30/08 00:44:52 changed by matt

  • milestone set to RobotRock.