Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#2729 closed Bug (fixed)

Email Reports "Send Report now" should send report for the selected date

Reported by: nsony Owned by:
Priority: normal Milestone: 1.7 Piwik 1.7
Component: Core Keywords:
Cc: Sensitive: no

Description

Click on Send Report now link always sending previous day/week/month data to email even if I select some other date range on the screen.If I try to download the same, its working properly i.e am getting reports for specified period.

On click of Send Report Now link is calling 'PDFReports.sendEmailReport' method in which you don't even pass start date to calculate the reports based on selected date. This method simply sends previous day/week/month data and this is required behavior for reports which are scheduled to run in specified intervals (Cron job). This method is not going to work for Send Report Now link.

Change History (2)

comment:1 Changed 2 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [5350]) Fixes #2729

comment:2 Changed 2 years ago by matt (mattab)

  • Milestone set to 1.7 Piwik 1.7
  • Priority changed from major to normal
  • Summary changed from PDF Reports - Send Report now link- always sending yesterday's data to Email Reports "Send Report now" should send report for the selected date
Note: See TracTickets for help on using tickets.