• neuroine

    (@neuroine)


    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);

    • This topic was modified 8 years ago by neuroine.
Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @neuroine There is nothing in this 18 month old topic that is report worthy. I have removed your modlook tag, please refrain from reporting topics for no reason.

Viewing 1 replies (of 1 total)
  • The topic ‘Raport – change date range’ is closed to new replies.