Support » Plugin: User Activation Email » Column active filter not working

Viewing 3 replies - 1 through 3 (of 3 total)
  • One of our team members solved this by changing the following code in the plugin.

    Line 362

    function sortable_active_query( $query )
    {
    if( !is_admin() )
    return;

    global $wpdb;
    if( ‘active’ == $query->query_vars[‘orderby’] )
    {
    $query->query_from = $query->query_from .”,”. $wpdb->usermeta;
    $query->query_where = str_replace( ‘WHERE 1=1’, ” WHERE ( $wpdb->usermeta.meta_key = ‘uae_user_activation_code’ AND $wpdb->usermeta.user_id = $wpdb->users.ID ) “, $query->query_where );
    $query->query_orderby = str_replace( ‘user_login’, “meta_value”, $query->query_orderby );
    }
    }

    Plugin Author NateJacobs

    (@natejacobs)

    Thanks for finding that. That is indeed a bug. I’ll fix it in the next version which will be out shortly after WordPress 3.7.

    Dear Nate,

    first of all thank you for great plugin.

    Unfortunately Column active filter not working with (my) WordPress Version 3.9.2.

    mRommel fixing also did not solve the problem.

    Best regards
    Allen

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Column active filter not working’ is closed to new replies.