order_by not applying to update_date

Viewing 2 posts - 1 through 2 (of 2 total)
#158147

Rebecca Garrison
Participant

I am using [wpdm-all-packages items_per_page="10" order_by="update_date" order="DESC" jstable=1 cols="title,download_count,update_date|download_link|categories" colheads="Title / Last Update|Download|Categories (click to filter)"].

Everything works great except the order_by. It seems to be ignoring the update_date and instead simply listing everything in descending alphabetical order by title (i.e. it is defaulting to title rather than update_date). I have also tried “orderby” (no underscore) having seen that in other pages on this site. Is it because I don’t have update_date in its own column? What am I missing? Thanks!

#158161

Humayon
Spectator

Hi @rebeccagarrison,
Hope you are well and doing great.
If you want to order it by date, make the date a major column, and if you put field value order_by="update_date" on it then it will show packages/files based on date.
Here is the example.
I hope you understand now.
Thank you

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘order_by not applying to update_date’ is closed to new replies.