Fix for wrong date sorting in Widget
-
Hi,
I noticed that with a recent update the Latest Sermon widget started listing the first (earliest) sermons instead of the latest (most recent) sermons.
Here is a fix for it.
In the file includes/widgets.php
change line 57 from
'orderby' => 'meta_value_num',
to'orderby' => 'meta_value_num', order' => 'desc',
It would be great if you wanted to include this change in upcoming updates! Thanks.
/anders
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fix for wrong date sorting in Widget’ is closed to new replies.