Raport – change date range
-
On reports page /wp-admin/admin.php?page=freshmail_reports change date range doesn’t work.
The problem caused by change of name refreshReports function to FreshMail_refreshReports.
/freshmail-integration/templates/admin_reports.php
<input type="button" value="set" onclick="refreshReports();" />
should be:
<input type="button" value="set" onclick="FreshMail_refreshReports();" />
IMHO
Chart should be displayed in order by insert_date not form_id.
/freshmail-integration/src/Plugin/Newsletter/Freshmail.php
$results = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.'freshmail_stats WHERE 1 = 1 '.$where.' ORDER BY form_id ASC', OBJECT);
$results = $wpdb->get_results('SELECT * FROM '.$wpdb->prefix.'freshmail_stats WHERE 1 = 1 '.$where.' ORDER BY insert_date ASC', OBJECT);
- The topic ‘Raport – change date range’ is closed to new replies.