Plugin Directory

Changeset 2130181


Ignore:
Timestamp:
07/29/2019 01:07:35 PM (7 years ago)
Author:
nikolam
Message:

Fix filtering during pagination

Location:
sermon-manager-for-wordpress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sermon-manager-for-wordpress/trunk/includes/sm-template-functions.php

    r2120393 r2130181  
    141141        case 'none':
    142142        default:
    143             $args['action'] = '';
     143            if ( get_query_var( 'paged' ) === 0 ) {
     144                $args['action'] = '';
     145            } else {
     146                $args['action'] = str_replace( parse_url( get_pagenum_link(), PHP_URL_QUERY ), '', get_pagenum_link() );
     147            }
    144148            break;
    145149    }
  • sermon-manager-for-wordpress/trunk/readme.txt

    r2124831 r2130181  
    131131* Fix: Not getting the real latest series image via "latest_series" shortcode
    132132* Fix: Some terms (series) not being ordered correctly by sermon date
     133* Fix: Filtering not working when sermons are on page above 1
    133134* Dev: Add a filter to disable sidebar on supported themes
    134135
Note: See TracChangeset for help on using the changeset viewer.