Skip to content

Commit

Permalink
Fix podcast sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikola Miljković committed Nov 5, 2018
1 parent 3cfbe33 commit 779600c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ Visit the [plugin homepage](https://wpforchurch.com/wordpress-plugins/sermon-man
## Changelog ##
### 2.15.7 ###
* Fix: PHP warning when archive output is used wrongly
* Fix: Podcast items may be sorted the wrong way

### 2.15.6 ###
* Change: Disable autocomplete for date preached, since it obstructed the view on mobile
Expand Down
1 change: 1 addition & 0 deletions views/wpfc-podcast-feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
'meta_value_num' => time(),
'meta_compare' => '<=',
'orderby' => 'meta_value_num',
'order' => 'DESC',
'paged' => isset( $_GET['paged'] ) ? intval( $_GET['paged'] ) : 1,
'meta_query' => array(
'relation' => 'AND',
Expand Down

0 comments on commit 779600c

Please sign in to comment.