Ordering by Download Count – Bug
-
It appears there is a bug when showing downloads, ordered by download count.
I’m using the following shortcode:
[downloads category="dashboards" orderby="download_count" template="popular" per_page="3" loop_start="<div class=\'popular-dashboards row\'>" loop_end="</div>" before="" after=""]
However, this does not order by download count. Having stepped through the code, there seems to a bug in the downloads shortcode function.
Near line 286, there is:
'$meta_key' => $meta_key,
Presumably this should be:
'meta_key' => $meta_key,
Once this change is made, it correctly orders them.
Cheers,
Dave
- The topic ‘Ordering by Download Count – Bug’ is closed to new replies.