WordPress.org

Ready to get started?Download WordPress

Forums

Audit Trail
Record Navigation for Audit Trail 1.1.15 (4 posts)

  1. Tony Hunt
    Member
    Posted 1 year ago #

    This problem has been present throughout the entire 3.4.x release of WP for us.

    When we click on the "next page" link, the displayed data only shows a view that is one record further.

    Example:
    Default data shows records 1-25
    Clicking on the next page icons shows records 2-26 instead of 26-50.

    Thanks in advance!

    -Tony

    http://wordpress.org/extend/plugins/audit-trail/

  2. Miroslaw Lach
    Member
    Posted 1 year ago #

    Quick fix for this problem:
    - open wp-content/plugins/audit-trail/models/pager.php file
    - locate line #110 (hint: longest line in this file) and change:
    $this->get_pagenum()
    to:
    $per_page * ($this->get_pagenum() - 1)

  3. Samuel Aguilera
    Member
    Posted 1 year ago #

    Thank you Miroslaw, it works ;)

  4. Simon Arame
    Member
    Posted 1 year ago #

    This is great mod that should be pushed to live version, it works, indeed !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic